Download To Local File
download-to-localDownload a file from an FTP server directly to a local path, streaming it without returning contents. Writes are limited to directories listed in FTP_LOCAL_ROOTS.
Instructions
Download a file from the FTP server straight to a path on this computer, streamed, without returning its contents. Only paths inside the directories listed in FTP_LOCAL_ROOTS can be written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Destination path on this computer (inside an FTP_LOCAL_ROOTS directory; the folder must exist) | |
| overwrite | No | Replace an existing local file (default: false) | |
| remotePath | Yes | Path of the file on the FTP server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| sha256 | Yes | ||
| localPath | Yes | ||
| remotePath | Yes |