Files specified as arguments to
ftp commands are processed
according to the following rules.
ftpthen forks a shell, using
popenwith the argument supplied, and reads/writes from standard input/output. If the shell command includes spaces, the argument must be quoted; e.g. ‘"ls -lt"’.
A particularly useful example of this mechanism in action, is
ftp> dir . |less
which allows the user to scroll through a long directory listing.
csh; c.f. the
globcommand. If the
ftpcommand expects a single local file (e.g.
put), only the first filename generated by the globbing operation is used.
getwith unspecified local file name, the local file name is set to the remote file name, which may be altered by a
nmapsettings. The resulting file name may then be modified if
putwith unspecified remote file name, the remote file name is copied from the local file name, which may be altered by a
nmapsettings. The resulting file name may also be modified by the remote server if