Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
f
ftp(1) ftp(1)
recv remote-file [local-file]
A synonym for get.
reget remote-file [local-file]
reget acts like get, except that if local-file exists and is smaller than remote-file, local-file is
presumed to be a partially transferred copy of remote-file and the transfer is continued from the
apparent point of failure. This command is useful when transferring very large files over networks
that tend to drop connections.
rhelp [command-name]
Request help from the server host. If command-name is specified, supply it to the server. See
ftpd(1M).
rstatus [file-name]
With no arguments, show status of remote machine. If file-name is specified, show status of file-name
on remote machine.
rename remote-from remote-to
Rename remote-from, which can be either a file or a directory, to remote-to.
reset
Clear reply queue. This command re-synchronizes command/reply sequencing with the remote FTP
server. Resynchronization may be necessary following a violation of the FTP protocol by the remote
server.
restart marker
Restart the immediately following get or put at the indicated marker. On UNIX systems, marker
is usually a byte offset into the file.
rmdir remote-directory
Delete remote-directory. remote-directory must be an empty directory.
runique
Toggle storing of files on the local system with unique filenames. If a file already exists with a name
equal to the target local filename for a get or mget command, a .1 is appended to the name. If
the resulting name matches another existing file, a
.2 is appended to the original name. If this pro-
cess continues up to .99, an error message is printed, and the transfer does not take place.
ftp
reports the unique filename. Note that runique does not affect local files generated from a shell
command (see below). The default value is off.
send local-file [remote-file]
A synonym for put.
sendport
Toggle the use of PORT commands. By default, ftp attempts to use a
PORT command when estab-
lishing a connection for each data transfer. If the
PORT command fails, ftp uses the default data
port. When the use of
PORT commands is disabled, ftp makes no attempt to use PORT commands
for each data transfer. This is useful for certain FTP implementations that ignore PORT commands
but (incorrectly) indicate that they’ve been accepted. See ftpd(1M). Turning sendport off may
cause delays in the execution of commands.
site arguments
Send arguments, verbatim, to the server host as a SITE command. See ftpd(1M).
size remote-file
Show the size of remote-file.
status
Show the current status of ftp.
struct [struct-name]
Set the FTP file transfer struct to struct-name. The only supported struct is file.
sunique
Toggle storing of files on remote machine under unique file names. The remote server reports the
unique name. By default, sunique is off.
system
Show the type of operating system running on the remote machine.
HP-UX Release 11i: December 2000 5 Section 1299
___
___