HP Integrity NonStop H-Series User Manual

Page 69

Advertising
background image

The syntax for transferring ASCII or binary files is:

put local-file [ remote-file ] [ ,attribute-list ]

where attribute-list is:

[ [filecode],[primary],[secondary],[maxextents] ]

The syntax for transferring structured files is:

put local-file [ remote-file ] [ ,attribute-list ]

where attribute-list is:

[[filetype],[filecode],[primary],[secondary],[maxextents],

[record-len],[pri-key-len],[key-offset],[index-blk-len ]]

local-file

specifies the name of the local file to be copied. The local file must be an Enscribe disk file. It
cannot be a temporary file, a running process, or a Spooler location.

remote-file

specifies the name for the remote file or remote spooler. If you specify a remote spooler, the
data representation type has to be set to ASCII. If you omit remote-file, FTP uses the name
of the local file for the new file name after modifying the name according to the current
settings of the case, ntrans and nmap commands.

attribute-list

is a list of file attributes for a HP NonStop file. You can specify these attributes only if the remote
system is a NonStop system.

You must specify the attributes in the order indicated, using commas as place holders and
omitting spaces. You must not include a space after the comma that separates the remote-file
specification from any of the file attributes, such as filecode, pext, and so on. ssue the FUP
INFO local-file

, DETAIL command to obtain detailed information about the file to be

copied.

filecode

indicates the file code of the remote file. filecode is a number from 0 through 32767.
When FTP is in binary transfer mode, the default file code is 0. When FTP is in ASCII
transfer mode, the default file code is 101. This attribute will override the current setting
of the filecode command.

primary

indicates the primary extent size in pages (2048-byte units) of the local file. primary is
an integer from 1 through 65535. For structured files, the default is 8 pages. For unstructured
files, the default is determined internally.

For additional information, see

“Usage Notes for Primary, Secondary and Maxextents

Parameters” (page 73)

.

FTP Command Reference

69

Advertising
This manual is related to the following products: