FTP (1)

FTP

rhelp [command]

Request a list of the FTP protocol commands implemented by the remote server (no arguments) or an explanation of the specified protocol command.

rmdir directory-name

Delete a directory on the remote host.

rstatus [file]

Show the status of the remote host or of the specified file on the remote host.

runique

Toggle the creation of unique local file names for retrieval using get and mget. If the destination file name already exists, a numeric extension will be added to the name, incrementing the number sequentially until a unique name is created. For example, if the target local file name is `for- tune' and that file already exists, the target name `fortune.1' will be used. If fortune.1 already exists, the target name `fortune.2' will be tried. This will continue with extensions 1 through 99; if all versions of the file already exist, the transfer will fail. The unique file name will be displayed if the transfer succeeds. By default, receive unique is off.

send local-file [remote-file] A synonym for put.

sendport

Toggle the use of the FTP protocol command PORT when establishing a data connection. When enabled (default), ftp will use the PORT command to inform the server of the local port on which the client is listening for the data connection. The server will then connect to that port. When disabled, ftp will listen for all data connections on the default port.

site arg ...

Send the arguments, verbatim, to the remote server via the FTP protocol command SITE. SITE commands are non-standard or environment- specific functions implemented by a particular server; the list of supported SITE commands can be obtained with the command site help.

size remote-file

Display the size of the remote file.

status Show the current status of ftp.

struct [struct-name]

Set the structure of the file to be transferred to struct-name. Valid formats are file (default), page, and record. Only the file structure is currently supported.

sunique

Toggle the creation of unique remote file names for sending files using put and mput. If the destination file name already exists, a numeric extension will be added to the name, incrementing the number sequentially until a unique name is created. For example, if the target remote file name is

E-16

Issue 3