Universal FTP Client Commands
Overview
Use the COMMAND configuration option to specify the transfer operation for UFTP.
QUOTE and SITE options also can be specified to send transfer directives or instructions directly to the FTP server.
Available COMMANDs are listed below.
Command Name | Description |
---|---|
Retrieves a single file from an FTP Server to Universal FTP Client. | |
Retrieves multiple files from an FTP Server to Universal FTP Client. | |
Transfers a single file from Universal FTP Client to an FTP Server. | |
Transfers multiple files from Universal FTP Client to an FTP Server. | |
Deletes a single file on a remote host. | |
Deletes multiple files on a remote host. | |
Creates a directory on a remote host. | |
Removes a directory on a remote host. | |
Lists files in a directory. |
Command Line Syntax
The following figure illustrates the command line syntax - using the long form of command line options - of Universal FTP Client.
uftp -host [protocol://]ipaddr [-port port] [-protocol { FTP | FTPS | SFTP | TFTP }] -userid name -password password {-cmd { GET | MGET | PUT | MPUT | DELETE | MDELETE | MKDIR | RMDIR | LIST } | [-quote cmd] [-site cmd] [-cmdfile filename] | -encryptedfile file] [-k key] ] [-src filepath] [-dst path] [-data_type type] [{ -actv ipaddress:port | -epsv | -pasv] } ] [-key path [-key_passphrase phrase] ] [-ssl_cipher_list list] [-min_ssl_Protocol { TLS1_0 | TLS1_2 } ] [-cert filepath] [-private_key filepath [-private_key_pwd password] ] [-ca_certs filepath] [-crl filepath] [-nosize] [-regex] [-unhide] [-list_parser filepath]
Configuration Options for Sending Commands
UFTP provides commands and transfer instructions to the FTP server using the COMMAND, QUOTE, and SITE options. COMMAND typically is used, but QUOTE and/or SITE also can be specified, depending on the requirements of a particular transfer.
- COMMAND
For sending generic, protocol-agnostic, OS-agnostic commands (although not all protocols support all commands; for example, TFTP does not support LIST). - QUOTE
For sending protocol-specific commands (different commands for FTP(S) and SFTP). - SITE
For sending host-specific commands (z/os server has its own set of commands).