Command
|
Description
|
CREATE DIR(<directory>)
|
Create a directory on the remote FTP host. A value must be supplied for the <directory>.
|
DELETE DIR(<directory>)
|
Delete a directory on the remote FTP host. A value must be supplied for the <directory>.
|
DELETE FILE(<file>)
|
Delete a file on the remote FTP host. A value must be supplied for the <file>.
|
RENAME FROM(<fromname>) TO(<toname>)
|
Rename a file on the remote FTP host. Values must be supplied for <fromname> and <toname>.
|
CHGDIR PATH(<new path>)
|
Change directory on the remote FTP host. A value must be provided for the <newpath>.
|
BINARY
|
Change to binary mode.
|
ASCII
|
Change to ASCII mode
|
QUIT
|
End the FTP session.
|
GET FROM(<remotepath>) TO(<localpath>) CONVERT(*YES/*NO) FROM_ENCODING(<fromcode>) TO_ENCODING(<tocode>) RECORD_DELIMITER(<*NONE/*LF/*CRLF) RECORD_SIZE(<size>) DATALINK(*PASV/*PORT)
|
GET a file from the remote FTP host and place on the local machine.
Refer to GET command.
|
PUT FROM(<remotepath>) TO(<localpath>) CONVERT(*YES/*NO) FROM_ENCODING(<fromcode>) TO_ENCODING(<tocode>) RECORD_DELIMITER(<*NONE/*LF/*CRLF) RECORD_SIZE(*NOMAX/<size>) DATALINK(*PASV/*PORT)
|
PUT a file from the local machine onto the remote FTP host.
Refer to PUT command.
|