Read a remote text file
ftp_readReads remote text files from an FTP/FTPS/SFTP server and returns their content. Binary files are refused; use ftp_download instead.
Instructions
Read a remote text file and return its content. Binary files are refused (use ftp_download instead).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote file path, relative to the server root. | |
| server | No | Name of the configured server. Defaults to the configured default, or the sole server. | |
| max_bytes | No | Maximum bytes to read (default 262144, hard max 1048576). |