The following FTP commands are supported through the command
line:
- STOR
- Uploads a local file to the host. If str2 is
in the command then the file name on the host is 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. Ex. MPUT *.txt uploads all 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 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 can be expected to follow.
Format: REIN
- SITE
- 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
- Deletes the file specified in str1 on the host.
Format: DELE
str1
- MKD
- Creates the directory specified in str1 as a
directory (if str1 is absolute) or as a subdirectory
of the current working directory.
Format: MKD str1
- RMD
- Removes the directory specified in str1. If
the directory is not empty then BlueZone FTP tries to recursively
delete the contents in any subfolders.
Format: RMD str1
- AUTH
- Starts an SSL handshake between BlueZone Secure FTP and 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
- IFTD
- A unique command to BlueZone Secure FTP. An iSeries File Transfer
download is started with this command.
Format: IFTD Library
iSeries_File FFD Type PC_FileName
Where: Library is
the library on the iSeries server.
Where: iSeries_File is
the data file to use for the transfer.
Where: FFD is
the file field descriptor.
Type: 0 for XLS, 1 for
CSV, 2 for Tab-delimited(txt).
Where: PC_FileName is
the destination file name for the XLS, CSV, or TXT file.
- IFTU
- A unique command to BlueZone Secure FTP. An iSeries File Transfer
upload is started with this command.
Format: IFTU Library
iSeries_File FFD PC_FileName
Where: Library is
the library on the iSeries server.
Where: iSeries_File is
the data file to use for the transfer.
Where: FFD is
the file field descriptor.
Where: PC_FileName is
the destination file name for the XLS, CSV, or TXT file.