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

Chapter 5 55
Using the FTP Server
More Information About FTP and MPE/iX
Notice that only the current directory changed and not the current session.
File Naming on MPE/iX
The MPE/iX file system is not case sensitive: file1 is the same file as FILE1.
A fully-qualified MPE/iX filename is in the form:
filename.groupname.account
Each part, (
filename
,
groupname
, and
account
) is 1–8 alphanumeric characters,
beginning with an alphabetic character. To avoid file naming problems, always explicitly
specify resulting filenames in correct MPE/iX format.
Using Metacharacters
Be aware if you use metacharacters (wildcards) and specify a group and/or account with
MGET, the resulting filenames will be fully qualified MPE/iX file names
(
filename.groupname.account
), a maximum of 26 characters, including periods. If your
system supports fewer characters than MPE/iX, the filenames may be truncated. Use the
LS command to verify the set of files you are transferring.
Both * and @ can be used as wildcard characters with the LS and DIR commands.
Changing File Building Parameters
When transferring files from your system to MPE/iX, you can use file-building parameters
following the PUT command string:
ftp> PUT
remotefile localfile;buildparms
The supported build parameters are:
:REC=[-
rcsizebytes
][,
blkfactor
[,[{F}][,{BINARY}]]]]
{V} {ASCII}
{B}
[;DEV=
device
]
[;CODE=
filecode
]
[;DISC=[
numrec
][,[
numextents
][,[
initialloc
]]]]
The parameter REC= can also be specified in words (two bytes per word) using a positive
integer value. The default
blkfactor
size is one. For more information about the BUILD
command, see the MPE/iX Commands Reference Manual.
The default MPE/iX file-transfer specifications for the PUT command in the form of
file-building parameters are:
ASCII: ;REC=-80,,F,ASCII;DISC=204800
Binary: ;REC=-256,,F,BINARY;DISC=204800
BYTESTREAM: ;REC=,,B;DISC=16384000
Examples
The following example shows how to transfer a file to MPE/iX with a record size of 150
bytes:
ftp> PUT filex file2;REC=-150,,V,ASCII