f

ftp(1)Kerberosftp(1)

ftpd(1M).

rstatus [ file-name ]

With no arguments, show status of remote machine. If ®le-nameis speci®ed, show status of ®le-nameon remote machine.

rename remote-from remote-to

Rename remote-from , which can be either a ®le 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 ®le.

rmdir remote-directory

Delete remote-directory. remote-directorymust be an empty directory.

runique

Toggle storing of ®les on the local system with unique ®lenames. If a ®le already exists with a name equal to the target local ®lename for a get or mget command, a .1 is appended to the name. If the resulting name matches another existing ®le, a .2 is appended to the original name. If this process continues up to .99, an error message is printed, and the transfer does not take place. ftp reports the unique ®lename. Note that runique does not affect local ®les 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 establishing 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-®le.

status

Show the current status of ftp.

struct [ struct-name ]

Set the FTP ®le transfer struct to struct-name. The only supported struct is file.

sunique

Toggle storing of ®les on remote machine under unique ®le 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.

tenex

Set the FTP ®le transfer type to tenex.

type [ type-name ]

Set the FTP ®le transfer type to type-name. If type-nameis unspeci®ed, write the current type to stdout. Ascii, binary, and tenex are the types currently supported.

umask [ newmask ]

Set the default umask on the remote server to newmask. If newmask is omitted, the current umask is printed.

Section 1306

− 5 −

HP-UX Release 11i: December 2000