Skip to main content

FTP Upload Files

Command description​

Upload one or more local files to the specified path on the remote FTP server.

Command Input Parameters​

input parametersInput parameter typeDescription
FTP Connection ObjectFtpConnectionConnection object created by the "Create FTP Connection" command
Remote PathstrPath to upload local files to remote server
Local Filestr or list[str]Local file path, or a list of local file paths
Upload ModeenumOptional values: Overwrite, Skip Upload, Auto-generate File Name

Command Output Parameters​

None. The underlying Python method returns the uploaded remote file paths, but this command has no output parameter, so the return value is not saved in the workflow.

Generation Notes​

  • Upload local files to the remote directory; do not reverse the local path and remote path.