Example, Debug, Delete – HP Integrity NonStop H-Series User Manual

Page 52: Cr debug delete

Advertising
background image

Example:

To set a connection timeout on the client side for 50 seconds, use the following command.

ftp> contimer 50

In the above example, FTP client would wait for 50 seconds to accept the connection from the
server before returning the prompt back to the user.

cr

Turns carriage return stripping on or off during ascii file-type retrieval. Records are denoted by a
Carriage Return/Line Feed sequence during ascii file-type transfers. When cr is on (the default),
carriage returns are stripped from this sequence to conform with the UNIX single-linefeed record
delimiter. Records on non-UNIX remote systems may contain single linefeeds; in this case, when
an ascii file-type transfer is made, these linefeeds can be distinguished from a record delimiter
only if cr is off.

cr { on | off }

on

Turns carriage return stripping on during ascii file-type retrieval. This is the default setting.

off

Turns carriage return stripping off during ascii file-type retrieval.

debug

Use the debug command to turn debugging mode on or off. This command can be used as a
toggle or used to set an explicit mode.

debug [ debug-value ]

debug-value

is an integer that specifies the setting of debugging mode explicitly. Zero turns debugging off;
any other value turns debugging on. If you do not specify debug-value, the command
performs as a toggle and the current setting is reversed.

When debugging mode is on, FTP displays each command sent to the remote system; the command
is preceded by the characters --->.

Example

Assume debugging mode is off. The following example illustrates the result of turning debugging
mode on:

ftp> debug
Debugging on (debug=1).
ftp> mput zt*
mput ZTST123?y
---> PORT 127,0,0,1,4,54
---> STOR ZTST123
mput ZTX?
.
.
.

delete

Use the delete command to delete a file from a remote system.

delete remote-file

remote-file

is the name of the file you want to delete. Specify remote-file as required by the remote
system.

52

FTP—Transferring Files

Advertising
This manual is related to the following products: