drive_download
Download a file or folder from Proton Drive to your local filesystem. Supports recursive folder downloads and overwrites existing files.
Instructions
Download a file or folder from Proton Drive to the local filesystem. Requires authentication. For folders, downloads recursively. Silently overwrites any existing local file at localPath — verify the destination before calling. Fails if the local parent directory does not exist. Returns {downloaded} count. Do not use to move files within Drive (use drive_move) or to read a small text file's contents (use drive_read_file if PROTON_DRIVE_SYNC_PATH is set).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | Yes | Absolute remote Drive path to download (must start with '/'). E.g. /my-files/report.pdf | |
| localPath | Yes | Absolute local destination path (must start with '/'). Parent directory must already exist. |