Skip to main content
Version: 4.2.5

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​

NameTypeDescription
ConnectionIFileTransferConnectionThe connection on which to send a command.

Must be a connection to an FTP server.
CommandStringThe command to send.
Accepted return codesShortLists 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.
ResultStringThe server reply.

See Also​

Create FTP Connection Configuration