HP ARPA File Transfer Protocol User's Guide (36957-90159)

Chapter 6 59
MPE/iX File System and Data Transfers
Using BUILD Parameters with FTP
Using BUILD Parameters with FTP
MPE/iX BUILD command parameters can be used to modify the default file building
parameters for files transferred to an MPE/iX system.
When no BUILD command parameters are specified with the target MPE/iX file
designation, the MPE/iX FTP server builds the file with the following defaults depending
on the transfer mode used:
For ASCII file transfers:
REC=-80,,F,ASCII;DISC=204800
which translates to a file with 80 byte fixed length ASCII records. The maximum number
of records the file can contain is 204,800.
For binary file transfers:
REC=-256,,F,BINARY;DISC=204800
which translates to a file with fixed length binary records, with a maximum record size of
256 bytes. The maximum number of records the file can contain is 204,800.
For bytestream file transfers:
;REC=,,B;DISC=16384000
which translates to a file with byte length records, with a maximum record size of 1 byte.
The default number of records is 16,384,000.
Build Command Parameters
An MPE/iX FTP user can change how a file is copied from a remote system to MPE/iX by
using the MPE/iX BUILD command parameters with the GET command using the following
syntax:
ftp> GET
remotefile localfile;buildparms
For a remote user (accessing the MPE/iX FTP server), you can save a file on MPE/iX using
the following syntax with the PUT command:
ftp> PUT
localfile remotefile;buildparms
Syntax
The supported BUILD command parameters are:
:REC=[-
rcsizebytes
][,
blkfactor
[,[{F}][,{BINARY}]]]]
{V} {ASCII}
{B}
[;DEV=
device
]
[;CODE=
filecode
]
[;DISC=[
numrec
][,[
numextents
][,[
initialloc
]]]]
Parameters
REC=-recsizeinbytes