ftp_list
List files and directories in a remote FTP or SFTP path. Use limit and offset for pagination to handle large directories.
Instructions
List files and directories in a remote path. Use 'limit' and 'offset' for pagination when dealing with directories containing hundreds of files to avoid context overflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Remote directory path (defaults to current working directory). | . |
| limit | No | Maximum results to return in this chunk. | |
| offset | No | Starting position in the file list for pagination. |