HP (Hewlett-Packard) LCS60 Printer User Manual


 
FTP ( 1 ) FTP
2) If the first character of the file name is , the remainder of the argument is
interpreted as a shell command. Ftp will fork a shell with the supplied argu-
ment, and pipe the output of the ftp command to the shell in the usual
manner. If the shell command includes spaces, the entire argument must be
enclosed in quotation marks (for example, "ls -lt"). Note that there can be no
space between the pipe symbol and the shell command. A particularly use-
ful example of this mechanism is: "dir <dirname> pg".
3) If ‘globbing’ is enabled, local file names are expanded as per the glob com-
mand.
4) The transformations defined by case, ntrans, and nmap are applied whenever a
destination file name is derived from a source file name. For a retrieval, using
mget or get with an unspecified local file name, case, ntrans, and nmap are
applied. For a storage, using mput or put with an unspecified remote file
name. ntrans and nmap are applied. These transformations are of particular
interest when connecting to a non-UNIX remote host with different file nam-
ing conventions or practices.
5) If runique or sunique is on, a unique local or remote destination file name will
be created by appending a unique numeric extension to the file name.
Ftp commands can be aborted using the terminal interrupt key (typically the
delete key or CTRL-C). Sending transfers (for example, put) will abort immedi-
ately. Receiving transfers (for example, get) are aborted by sending the FTP proto-
col command ABOR to the remote server and discarding the remainder of the
received data. If the remote server does not support the ABOR protocol com-
mand, it will continue to send the remainder of the data and the FTP client will
wait until the transfer is completed before displaying the prompt.
COMMANDS
The following commands are recognized by the ftp command interpreter. They
may be abbreviated, so long as they remain unique. Ftp will prompt for required
arguments omitted from a command. Command arguments that have embedded
spaces should be enclosed in double quotation (") marks.
account passwd
Specify the supplemental password required by the remote system for
access to its resources.
allbinary
Toggle the use of binary type for non-file transfer operations (for example,
ls). Normally, these operations are done in ascii mode regardless of the file
transfer type. If allbinary is on and the file transfer type is binary, non-file
transfer operations will be done in binary mode.
append local-file [remote-file]
Append local-file to a file on the remote host. If remote-file is not specified,
the remote file will be named local-file. File transfer uses the current set-
tings for type, format, mode, and structure.
E-10 Issue 3