HP ARPA File Transfer Protocol User's Guide (36957-90159)

18 Chapter2
FTP User Commands: Quick Reference
Sets the file transfer type to bytestream.
CASE
When using the MPUT command, turns on or off the feature to force
resulting filenames to lowercase. When case is off, resulting file names are
all uppercase. The default is off.
CD
remotedirectory
Changes the working directory on the remote host to the directory
specified.
CLOSE
ClosesU the remote connection but remains in the FTP program.
DEBUG
Turns on or off the terminal screen display of the commands and
parameters that are sent to the remote host. The default is off.
DELETE
remotefilename
Deletes the remote file specified. A directory path may be included with
remotefilename
.
DIR [
remotedirectory
[
localfile
]]
Writes the requested
remotedirectory
listing to the terminal, or to a
local file if specified. If
remotedirectory
is not specified, the current
remote working directory contents are listed.
DISCONNECT
A synonym for the CLOSE command.
EXIT
A synonym for the QUIT command.
EXITONERROR
Turns on or off the feature to exit an FTP session when an error is
detected. The last error and message are saved in system variables (enter
SHOWVAR FTP@ to display). Useful for batch jobs using FTP commands. The
default is off.
FORM [NONPRINT]
Sets the FTP file transfer form to the specified format. The only supported
form is NONPRINT. Entering FORM without a parameter displays the
supported format.
GET
remotefile
[
localfile
] [
;buildparms
] [
;move
]
Transfers the remote file specified to a local file. Build parameters may be
used to change how the file is stored on MPE/iX. If a local file name is not
specified, the file is saved with the same name as the remote file name
(assuming a legal file name).