Reset, Example, Rmdir – HP Integrity NonStop H-Series User Manual

Page 80: Runique, Send, Reset rmdir runique send

Advertising
background image

reset

Use the reset command to clear the reply queue in order to synchronize the command and reply
sequence with the remote FTP server. Use this command when the FTP remote server violates the
FTP protocol. The response to this command depends on how the remote server operates.

reset

Example

To clear the reply queue, enter the following command:

ftp> reset

rmdir

Use the rmdir command to delete a directory from a remote system.

rmdir directory-name

directory-name

specifies the directory to be deleted. Specify directory-name as required by the remote
system.

Example

To delete a directory named memos, enter the following command:

ftp> rmdir memos

runique

Use the runique command to turn on or off a mechanism that the FTP client uses to create unique
names for files copied to the local system. This mechanism is also used to process names of remote
files that exceed the eight-character limit for Guardian file names.

runique

The runique mechanism ensures that operations complete even though a naming conflict occurs.
If runique is on, FTP appends a number to a file name if the target local file name in a get or mget
operation already exists. If the name contains more than six characters, it is truncated before the
number is appended.

For example, assume you copy a remote file named SALES to the local system using a get command
and do not specify a name for the local file. If the current subvolume already contains a file named
SALES

, FTP names the new file SALES1. If SALES1 already exists, FTP names the new file SALES2.

The operation will fail if 99 files (SALES1 through SALES99) exist on the subvolume.

If the operation is successful, FTP displays the generated, unique name.

NOTE:

FTP does not apply the runique mechanism to a file name unless the two files have the

same data representation type. For example, if you transfer a binary file that has the same name
as an ASCII file, FTP displays an error and does not create a new name for the file.

When you start an FTP session, runique is off.

Example

To change the setting of runique, enter the following command:

ftp> runique
Receive unique on.

send

Use the send command to copy a local file to the remote system. (The send command performs
the same operation as the put command.)

80

FTP—Transferring Files

Advertising
This manual is related to the following products: