Upload
Sends a file from the local system to the FTP server, often for the purpose of publishing new files, updates, or reports to remote environments.
Input
| Name | Type | Required | Description |
| LocalFile | String | False | The local system path to a single file that is uploaded to the FTP server. |
| LocalFolder | String | False | The local system path to a folder that is uploaded, specify this or LocalFile for one upload source but not both. |
| RemotePath | String | False | The destination directory on the FTP server where the file or folder is stored. |
| RemoteFile | String | False | The name of the single file to be uploaded to the FTP server. Required only if StoreUnique is not enabled. |
| TransferMode | String | False | The transfer mode used for the upload, such as ASCII or Binary, depending on the file type.
The allowed values are DEFAULT, ASCII, BINARY. The default value is DEFAULT. |
| StoreUnique | String | False | Uploads the file to the server with a unique name automatically assigned by the FTP server.
The default value is false. |
| Overwrite | String | False | Determines whether an existing file on the server with the same name should be overwritten.
The default value is false. |
Result Set Columns
| Name | Type | Description |
| UniqueFileName | String | The unique file name generated by the server when StoreUnique is set to true. |
| Success | String | Indicates whether the upload operation was successful (true) or unsuccessful (false). |