/sftp-ftp | Type: Application | PCID required: Yes
Secure file transfer (SFTP and FTP)
Tools
| Tool | Description |
|---|---|
sftp_ftp_upload_file | Upload a file to SFTP/FTP server from a URL |
sftp_ftp_download_file | Download a file from SFTP/FTP server. IN WORKFLOWS: Files are automatically saved to Node Outputs - no manual save step needed. By default, automatically extracts text from supported document formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files (TXT, CSV) do not need extraction. NOTE: Streaming is not available for SFTP/FTP due to protocol limitations. Content is returned as base64. For large files (>5MB), consider transferring to cloud storage first. |
sftp_ftp_list_directory | List files and directories in SFTP/FTP remote directory |
sftp_ftp_create_directory | Create a directory on SFTP/FTP server |
sftp_ftp_copy_file | Copy a file on SFTP/FTP server |
sftp_ftp_get_file_info | Get file information and check if a file exists on SFTP/FTP server |
sftp_ftp_rename_file | Rename or move a file on SFTP/FTP server |
sftp_ftp_upload_file
Upload a file to SFTP/FTP server from a URL Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
remoteFilePath | string | Yes | — | Remote directory path on server where file will be uploaded. Must have trailing slash ”/“ |
fileUrl | string | Yes | — | URL of the file to upload (e.g., https://example.com/file.pdf) |
fileName | string | No | — | Optional file name to save as on server (if not provided, derived from URL) |
sftp_ftp_download_file
Download a file from SFTP/FTP server. IN WORKFLOWS: Files are automatically saved to Node Outputs - no manual save step needed. By default, automatically extracts text from supported document formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files (TXT, CSV) do not need extraction. NOTE: Streaming is not available for SFTP/FTP due to protocol limitations. Content is returned as base64. For large files (>5MB), consider transferring to cloud storage first. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
remoteFilePath | string | Yes | — | Remote file path on server (e.g., testfiles/jam.jpeg) |
extractText | boolean | No | true | Automatically extracts text from supported formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files do not need extraction. Set to false to skip extraction. |
sftp_ftp_list_directory
List files and directories in SFTP/FTP remote directory Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
remotePath | string | No | "/" | Remote directory path to list. Must have trailing slash ”/“ |
includeHidden | boolean | No | false | Include hidden files and directories |
recursive | boolean | No | false | List directories recursively |
sftp_ftp_create_directory
Create a directory on SFTP/FTP server Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | Yes | — | Remote directory path to create (e.g., testfiles/NewFolder) |
recursive | boolean | No | — | Create parent directories if they don’t exist |
sftp_ftp_copy_file
Copy a file on SFTP/FTP server Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sourcePath | string | Yes | — | Source file path (e.g., testfiles/original.txt) |
destinationPath | string | Yes | — | Destination file path (e.g., testfiles/Folder/copy.txt) |
sftp_ftp_get_file_info
Get file information and check if a file exists on SFTP/FTP server Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
remoteFilePath | string | Yes | — | Remote file path to check (e.g., testfiles/SahilFolder/README.md) |
sftp_ftp_rename_file
Rename or move a file on SFTP/FTP server Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
oldPath | string | Yes | — | Current file path |
newPath | string | Yes | — | New file path |

