has the format:
protocol://host/[directory/[filename]]
where protocol is ftp and host is
[user[:password]]@hostname. User defaults to anonymous and
password defaults to host.domain. Note that
directory/[filename] is interpreted relative to the home directory
for user, thus an absolute pathname must be specified with the
leading /;
ftp://host//tmp/anyfile
As an extension, the filename part of the locator is expanded by the
shell for options -get or -put, otherwise it is processed as a
regular expression. For convenience, the protocol component of the uniform
resource locator (ftp://) may be omitted.
Xtp retrieves files from the remote directory for -get and
puts files in the remote directory for -put. Otherwise, xtp
looks for a file of the form ls-lls-l([Rt])+([Rt])* and assumes it
contains a recursive directory listing. If none is found, xtp
recursively descends the directory hierarchy from the remote directory.
Some remote hosts may have thousands of files causing a significant
delay satisfying your request. This can be wasteful if the files you
are interested in reside in a known directory. You can reduce the
searching required by specifying remote directory on the command
line. This limits the filename search to the specified directory and
any of its subdirectories. Alternatively, -prune restricts the
search to the remote directory only.