Download File
download-fileRetrieve a file from an FTP server by providing its remote path. Text files are returned as-is, binary files as base64-encoded content.
Instructions
Download a file from the FTP server. Text files are returned as-is; binary files are returned base64-encoded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | Yes | Path of the file on the FTP server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | File content, encoded per the encoding field | |
| encoding | Yes | utf8 for text files, base64 for binary files | |
| remotePath | Yes |