|
|
HP ARPA File Transfer Protocol User's Guide: HP 3000 MPE/iX Computer Systems > Chapter 6 MPE/iX File System and Data TransfersUsing 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:
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:
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:
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. 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:
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:
The supported BUILD command parameters are:
When you specify BUILD parameters in an FTP transfer, you do not have to specify the MPE/iX file type standard (STD) since it is the default. Note that STD is the only supported MPE/iX file type. For more information about BUILD parameters, use MPE/iX online help (HELP BUILD PARMS), or see the MPE/iX Commands Reference Manual. The first example shows an MPE/iX user transferring a file from the remote system to an MPE/iX system using only the CODE=PROG parameter:
The file is created with the BUILD command defaults: fixed binary, 128 word records, with a maximum number of records equal to 1,023. The second example shows an MPE/iX user transferring a group of binary files from the remote system to an MPE/iX system:
All files in the set beginning with letter "P" are created with the following attributes: file code label PROG, fixed binary, 128 word records, and a maximum number of records equal to 1,023. The blank space preceding the semicolon is required. The third example shows a remote user transferring a file from their system to an MPE/iX system using BUILD parameters as follows:
An MPE/iX fixed binary file named MPEFILE is created with records of 256 bytes, with a maximum record size of 11,000. The file code label is PROG. |
|