Examples, Example 1 – HP Integrity NonStop H-Series User Manual

Page 82

Advertising
background image

secondary

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

maxextents

indicates the maximum number of extents of the remote file. maxextents is an integer
from 1 through 978. The default value is 978 extents. When your command specifies a
maxextents

value lower than 16 but greater than 0 for a stuctured or unstructured file,

FTP sets the maxextents value to 16. If the file you are transferring already exist on the
remote system, FTP purges the remote file and recreates the file using the specified extents.

NOTE:

When you are transferring a large file, you can improve performance by specifying

larger extent sizes allowing the system to allocate fewer extents while the file is being
copied.

filetype

for structured file transfer, indicates the type of file:

indicates an entry-sequenced file

e

indicates a key-sequenced file

k

indicates a relative file

r

record-len

indicates the length of the records in a structured file. You must obtain this information using
the FUP INFO command with the DETAIL option (see the Note below).

pri-key-len

indicates the primary key length in a structured file. You must obtain this information using
the FUP INFO command with the DETAIL option (see the Note below).

key-offset

indicates the key offset in a structured file. You must obtain this information using the FUP
INFO

command with the DETAIL option (see the Note below).

index-blk-len

indicates the index block length in a structured file. You must obtain this information using
the FUP INFO command with the DETAIL option (see the Note below).

NOTE:

To ensure that structured files are correctly transferred, you must first issue the FUP

INFO command with the DETAIL option for the file you wish to transfer. All file attributes
that are present in the display must be included in the put command. The following example
shows the file attributes for a file named KEYSEQ:

Examples

Example 1

This example copies a local ASCII file, named BIGEDIT, to a remote NonStop system.

First, before starting FTP, obtain a detailed listing of the file:

$55> fup info $abc.source.bigedit,detail

$ABC.SOURCE.BIGEDIT 19 May 1995, 9:16
ENSCRIBE
TYPE U
CODE 101
EXT ( 8 PAGES, 16 PAGES )

82

FTP—Transferring Files

Advertising
This manual is related to the following products: