
LBI-39040 FILE TRANSFER PROTOCOL COMMAND
B-6
reset
Clears the 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.
rmdir directory-name
Deletes a directory, directory-name, on the remote machine.
runique
Toggles 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 process continues up to “.99,” an error message is printed, and the transfer
does not take place. The generated unique filename will be reported. Note: runique will 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
Toggles the use of PORT commands. By default, ftp will attempt to use a PORT command when establishing a
connection for each data transfer. The use of PORT commands can prevent delays when performing multiple file transfers. If
the PORT command fails, ftp will use the default data port. When the use of PORT commands is disabled, no attempt will be
made to use PORT commands for each data transfer. This is useful when connected to certain FTP implementations that
ignore PORT commands but incorrectly indicate that they have been accepted.
status
Shows the current status of ftp.
sunique
Toggles storing of files on remote machine under unique file names. The remote FTP server must support the STOU
command for successful completion. The remote server will report the unique name. Default value is off.
tenex
Sets the "representation type" to that needed to talk to TENEX machines.
type [ type-name ]
Sets the "representation type" to type-name The valid type-name(s) are ascii for "network ASCII," binary or image for
"image," and tenex for "local byte size" with a byte size of 8 (used to talk to TENEX machines). If no type is specified, the
current type is printed. The default type is "network ASCII."
Komentáře k této Příručce