Skip to main content
Version: 4.2.5

SFTP/FTP Writer

Description​

Writes a file to an SFTP or FTP server and allows renaming of the file.

Assembly: iCore.Workflow.Activities.Ftp
Category: SFTP/FTP

Arguments​

NameTypeDescription
ConnectionIFileTransferConnectionConnection to the SFTP/FTP Server.
Destination filenameStringComplete path to (and name of) the destination file. If left empty, the file name of the source file will be used.
Destination directoryStringDirectory where the file is to be uploaded.

The directory path may be case sensitive.
Source file nameStringComplete path to the file that should be uploaded to the server.
Create temporary fileBooleanSpecifies whether the file is to be uploaded to a temporary file and then renamed when the upload is complete. True means a temporary file will be created. Default: False
Temporary server directoryStringTemporary directory where the file is to be initially uploaded.

The directory path may be case sensitive.
Temporary extensionStringTemporary extension to be initially given to the file. If left empty, the file will keep its original extension.
Store modeFtpStoreModeSpecifies what to do if a file with the same name already exists.
File size checkBooleanSpecifies whether the size of the uploaded file should be compared to the size of the source data when the upload is complete. If the file size check fails, an FtpException is thrown. Default: False.
Local file pathStringThe complete path to the file on the client.
Local file nameStringThe name of the file on the client (no directory path).
Server file pathStringThe complete path to the file on the server.
Server file nameStringThe name of the file on the server (no directory path).

See Also​

Open SFTP/FTP Connection