Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

ftp(1) OSS Shell and Utilities Reference Manual
rename from to
Renames a le on the remote host.
reset Clears the reply queue. This command resynchronizes the command parsing.
restart marker
Restarts the immediately following get or put command at the indicated marker. On
systems that treat les as unstructured byte arrays (such as OSF/1 and UNIX systems),
marker is simply a byte offset into the le.
rmdir remote_directory
Removes the directory remote_directory at the remote host.
runique Toggles whether unique lenames are created for local destination les during get and
mget operations. If creating unique local lenames is not enabled (the default), ftp
overwrites local les. Otherwise, if a local le has the same name as specied for a
local destination le, ftp modies the specied name of the local destination le with .1.
If a local le is already using the new name, ftp appends the postx .2 to the specied
name. If a local le is already using this second name, ftp continues incrementing the
postx until it either nds a unique lename or reaches .99 without nding a unique
name. If ftp cannot nd a unique name, ftp reports an error and the transfer does not
take place. Note that runique does not affect local lenames generated from a shell
command. When transferring a le ending in .1 (or any other digit) to a /G Guardian le
system, the period (.) is dropped from the resulting Guardian le name.
send local_file [remote_file]
Stores a local le on the remote host. A synonym for put.
sendport
Toggles the use of FTP PORT instructions. By default, ftp uses a PORT instruction
when establishing a connection for each data transfer. When the use of PORT instruc-
tions is disabled, ftp does not use PORT instructions for data transfers.
size filename
Displays the size of the le, lename, on the remote system in bytes.
status Displays current status of ftp.
struct [structure]
Sets data transfer structure type. The only structure supported is stream.
sunique Toggles whether unique lenames are created for remote destination les during put and
mput operations. If creating unique remote lenames is not enabled (the default), ftp
overwrites remote les. Otherwise, if a remote le has the same name as specied for a
remote destination le, the remote FTP server modies the name of the remote destina-
tion le. Note that the remote server must support the STOU instruction.
trace Toggles packet tracing.
type [type]
Sets the le transfer type to type.Iftype is not specied, the current type is printed. The
default type is ascii. Note that binary transfer (type binary) can be more efcient than
ASCII transfer. File transfers to the Guardian (/G) le system will always arrive as
Guardian le type 180.
3162 Hewlett-Packard Company 527188-004