HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)

f
ftp(1) ftp(1)
Some useful examples of this mechanism are:
ls . "| more"
The above command lists the files in the current directory page by page.
put "| tail -20 loc_file" rem_file
This command copies the last twenty lines of the local file "loc_file" to the remote system as "rem_file".
Otherwise, if globbing is enabled, ftp
expands local file names according to the rules used by the C
shell (see csh(1)); see the
glob command, below. If the
ftp command expects a single local file (e.g.,
put), only the first filename generated by the globbing operation is used.
For mget commands and get
commands with unspecified local file names, the local filename is named
the same as the remote filename, which may be altered by a
case, ntrans,or nmap setting. The
resulting filename may then be altered if
runique is on.
For
mput commands and
put commands with unspecified remote file names, the remote filename is
named the same as the local filename, which may be altered by a
ntrans or nmap setting. The
resulting filename may then be altered by the remote server if
sunique is on.
WARNINGS
Correct execution of many commands depends upon proper behavior by the remote server.
DIAGNOSTICS
Error! could not retrieve authentication type.
Please notify sys admin.
There are two authentication mechanisms used by
ftp. One authentication mechanism is based on
Kerberos and the other is not. The type of authentication mechanism is obtained from a system file
which is updated by inetsvcs_sec(1M). If the system file does not contain known authentication types,
the above error is displayed.
AUTHOR
ftp was developed by the University of California, Berkeley.
SEE ALSO
csh(1), rcp(1), ftpd(1M), inetsvcs_sec(1M), netrc(4), ftpusers(4), hosts(4), krb5.conf(4), sis(5).
HP-UX 11i Version 1: September 2005 7 Hewlett-Packard Company Section 1311