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
| Name | Type | Description |
|---|---|---|
| Connection | IFileTransferConnection | Connection to the SFTP/FTP Server. |
| Destination filename | String | Complete path to (and name of) the destination file. If left empty, the file name of the source file will be used. |
| Destination directory | String | Directory where the file is to be uploaded. The directory path may be case sensitive. |
| Source file name | String | Complete path to the file that should be uploaded to the server. |
| Create temporary file | Boolean | Specifies 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 directory | String | Temporary directory where the file is to be initially uploaded. The directory path may be case sensitive. |
| Temporary extension | String | Temporary extension to be initially given to the file. If left empty, the file will keep its original extension. |
| Store mode | FtpStoreMode | Specifies what to do if a file with the same name already exists. |
| File size check | Boolean | Specifies 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 path | String | The complete path to the file on the client. |
| Local file name | String | The name of the file on the client (no directory path). |
| Server file path | String | The complete path to the file on the server. |
| Server file name | String | The name of the file on the server (no directory path). |