Send FTP Command
Description
Sends a command to an FTP server using the provided connection. The activity returns the server reply to the command.
Assembly: iCore.Workflow.Activities.Ftp
Category: SFTP/FTP
Arguments
| Name | Type | Description | |
|---|---|---|---|
| Connection | IFileTransferConnection | The connection on which to send a command. Must be a connection to an FTP server. | |
| Command | String | The command to send. | |
| Accepted return codes | Short | Lists all return codes that can be returned if the command is successfully executed. If no return codes are specified, all return codes in the range 400 to 599 will be considered error codes. If the server replies with a code that is neither specified nor in the mentioned range (when no codes are specified), an FtpException is thrown. | |
| Result | String | The server reply. |