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

GET

Retrieves a single file from an FTP Server to Universal FTP Client.

MGET

Retrieves multiple files from an FTP Server to Universal FTP Client.

PUT

Transfers a single file from Universal FTP Client to an FTP Server.

MPUT

Transfers multiple files from Universal FTP Client to an FTP Server.

DELETE

Deletes a single file on a remote host.

MDELETE

Deletes multiple files on a remote host.

MKDIR

Creates a directory on a remote host.

RMDIR

Removes a directory on a remote host.

LIST

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.

-host
-port
-protocol
-userid
-password
-cmd
-quote
-site
-cmdfile
-encryptedfile
-k
-src
-dst
-data_type
{ -actv
-epsv
-pasv
-key
-key_passphrase
-ssl_cipher_list
-min_ssl_Protocol
-cert
-private_key
-private_key_pwd
-ca_certs
-crl
-nosize
-regex
-unhide
-list_parser

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).