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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Command | String | Yes | The command and its arguments. Commands that sign in, change security or the data channel, or close the connection are refused. | |
| Session | String | No | transfer | Session name. |
Outputs
| Output | Type | What it is |
|---|---|---|
| reply_code | Number | The server's three-digit reply code, such as 200 or 550. |
| reply_text | String | The server's reply, all lines. |
| ok | Boolean | True when the reply code is 2xx or 3xx. |