Deleting files, Ftp anonymous user support, Ftp command reference – HP Integrity NonStop H-Series User Manual

Page 48: Account, Examples

Advertising
background image

The remote system expands the wild-card name entry sal* to a list of files that match the pattern.
The local name for each file consists of the remote file name, modified according to the current
settings of case, ntrans, and nmap.

If you want to be prompted before each file is copied, set the prompt toggle on.

Deleting Files

You can delete a single remote file by using the delete command, or a set of files by using the
mdelete

command with a wild-card name. For example, the following command deletes all files

from the current working directory that begin with the letter z and contain exactly three additional
characters. Assume the glob toggle is on:

ftp> mdelete z???

Each question-mark matches any character, but each must match at least one. For a description
of the wild-card characters, see the glob command in the

“FTP Command Reference” (page 48)

.

To delete a file named customer from the directory named accounts, enter the following commands:

ftp> cd accounts
ftp> delete customer

If you want to be prompted before each file is deleted, set the prompt toggle on.

FTP Anonymous User Support

See

Chapter 15 (page 152)

, for information about FTP anonymous user support.

FTP Command Reference

The following pages contain descriptions of the syntax (enclosed in boxes) and rules for using FTP
commands, and provide examples of typical ways to use the commands.

account

Use the account command to supply a supplemental password required for access to resources
on a remote system. You can use the account command after you successfully log on to the remote
system.

account [ password ]

password

is the password for the remote account. To prevent the password characters from being
displayed on the screen, omit password. The system then prompts you for the password and
does not echo the characters you enter.

If the remote system does not have accounts, a message appears indicating that the account
command is not implemented on that system.

Examples

In the following example, the account password zinger is sent to the remote system:

ftp> account zinger

In the next example, the system prompts for the password. The password is not displayed as you
type it:

ftp> account
Account:
ftp>

The password prompt varies from system to system.

48

FTP—Transferring Files

Advertising
This manual is related to the following products: