Skip to main content

Send FTP command

Send one raw command, such as SITE CHMOD 644 file.txt, FEAT or SYST, to an FTP or FTPS server and return its reply. SFTP sessions do not take raw commands.

Command in the FTP / SFTP toolkit · id ooa.file_transfer/send_command · 2 inputs (1 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
CommandStringYesThe command and its arguments. Commands that sign in, change security or the data channel, or close the connection are refused.
SessionStringNotransferSession name.

Outputs​

OutputTypeWhat it is
reply_codeNumberThe server's three-digit reply code, such as 200 or 550.
reply_textStringThe server's reply, all lines.
okBooleanTrue when the reply code is 2xx or 3xx.