AACFlow

SFTP

Transfer files via SFTP (SSH File Transfer Protocol)

Usage Instructions

Upload, download, list, and manage files on remote servers via SFTP. Supports both password and private key authentication for secure file transfers.

Tools

sftp_upload

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
usernamestringYesNo description
passwordstringNoNo description
privateKeystringNoNo description
passphrasestringNoNo description
remotePathstringYesNo description
filesfile[]NoNo description
fileContentstringNoNo description
fileNamestringNoNo description
overwritebooleanNoNo description
permissionsstringNoNo description

Output

ParameterTypeDescription
successbooleanWhether the upload was successful
uploadedFilesjsonArray of uploaded file details (name, remotePath, size)
messagestringOperation status message

sftp_download

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
usernamestringYesNo description
passwordstringNoNo description
privateKeystringNoNo description
passphrasestringNoNo description
remotePathstringYesNo description
encodingstringNoNo description

Output

ParameterTypeDescription
successbooleanWhether the download was successful
filefileDownloaded file stored in execution files
fileNamestringName of the downloaded file
contentstringFile content (text or base64 encoded)
sizenumberFile size in bytes
encodingstringContent encoding (utf-8 or base64)
messagestringOperation status message

sftp_list

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
usernamestringYesNo description
passwordstringNoNo description
privateKeystringNoNo description
passphrasestringNoNo description
remotePathstringYesNo description
detailedbooleanNoNo description

Output

ParameterTypeDescription
successbooleanWhether the operation was successful
pathstringDirectory path that was listed
entriesjsonArray of directory entries with name, type, size, permissions, modifiedAt
countnumberNumber of entries in the directory
messagestringOperation status message

sftp_delete

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
usernamestringYesNo description
passwordstringNoNo description
privateKeystringNoNo description
passphrasestringNoNo description
remotePathstringYesNo description
recursivebooleanNoNo description

Output

ParameterTypeDescription
successbooleanWhether the deletion was successful
deletedPathstringPath that was deleted
messagestringOperation status message

sftp_mkdir

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
usernamestringYesNo description
passwordstringNoNo description
privateKeystringNoNo description
passphrasestringNoNo description
remotePathstringYesNo description
recursivebooleanNoNo description

Output

ParameterTypeDescription
successbooleanWhether the directory was created successfully
createdPathstringPath of the created directory
messagestringOperation status message

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started