Supported FTP commands

STOR
Uploads a local file to the host. If str2 is in the command then the file name on the host will be set to str2 instead of str1.

Format: STOR str1

Format: STOR "str1" str2

STOU
This command behaves like STOR except that the resultant file is to be created on the host under a name unique to that directory.

Format: STOU str1

Format: STOU "str1" str2

APPE
This command behaves like STOR except that if the resultant file already exists on the host the contents of the local file are appended to the host file.

Format: APPE str1

Format: APPE "str1" str2

PUT
This command behaves like STOR.

Format: PUT str1

Format: PUT "str1" str2

RETR
Downloads str1 from the host and stores it on the local computer. If str2 is in the command then the file name is stored on the local computer as str2.

Format: RETR str1

Format: RETR "str1" str2

GET
This command behaves like RETR.

Format: GET str1

Format: GET "str1" str2

MPUT
Uploads multiple files to the host. Wildcards (*) are supported in this command. Example: MPUT *.txt uploads all of the text files in the current directory to the host.

Format: MPUT str1

Format: MPUT str1 str2 str3 and so on. Long file names containing spaces are not supported in this command; use multiple STOR commands instead.

MGET
Downloads multiple files from the host. Wildcards (*) are supported in this command. Example: MGET *.txt downloads are the text files in the current host directory from the host.

Format: MGET str1

Format: MGET str1 str2 str3 and so on. Long file names containing spaces are not supported in this command; use multiple RETR commands instead.

LIST
Performs a listing of the current host directory.

Format: LIST

LS
Performs a listing of the current host directory. Not all hosts support this command.

Format: LS

DIR
Performs a listing of the current host directory. Not all hosts support this command.

Format: DIR

EXIT
Closes the BlueZone Secure FTP program.

Format: EXIT

QUIT
Disconnects the connection to the host.

Format: QUIT

CWD
Changes the current working directory on the host.

Format: CWD str1

CD
This command behaves like CWD.

Format: CD str1

CDUP
Changes the current directory to its parent directory.

Format: CDUP

TYPE
Changes the data type used for file transfer.

Format: TYPE A (Sets Type to ASCII)

Format: TYPE I (Sets Type to Binary)

Format: TYPE E (Sets Type to EBCDIC)

Format: TYPE F (Sets Type to Double-Byte EBCDIC)

Format: TYPE B (Sets Type to Double-Byte ASCII)

REIN
Terminates a USER. The state is now the same as after a connection is opened. A USER command may be expected to follow.

Format: REIN

SITE
This command is used by the server to provide services specific to the system that may be essential to file transfer. The nature of these services and the specification of their syntax can be stated in a reply to the HELP SITE command.

Format: SITE

DELE
Causes the file specified in str1 to be deleted on the host.

Format: DELE str1

MKD
Causes the directory specified in str1 to be created as a directory (if str1 is absolute) or as a subdirectory of the current working directory.

Format: MKD str1

RMD
Causes the directory specified in str1 to be removed. If the directory is not empty then BlueZone Secure FTP will try to recursively delete the contents in any subfolders.

Format: RMD str1

AUTH
Causes BlueZone Secure FTP to start an SSL handshake with the host.

Format: AUTH

Format: AUTH SSL

Format: AUTH TLS

Format: AUTH TLS-C

Format: AUTH TLS-P

SMNT
Allows the user to mount a different file system data structure. Format depends upon the host.

Format: SMNT str1

Format: SMNT str1 str2

Format: SMNT str1 str2 str3