User manual
Computer Gateway User Manual 4-108 5/96
4.10
4.10 FILE TRANSFERS
4.10.1 Introduction to File Transfers
The following paragraphs explain the format and content of the file transfer requests that a
host processor can make to an HM on the local LCN. Some of these file requests also can
be made across the Network Gateway to an HM on a remote LCN.
The host initiates all file transfer operations and can also request abort of any operation.
For each file transfer request from the host there is a paired response from the CG.
Descriptions of each file transfer request/response pair begin at heading 4.10.2.
4.10.1.1 File Transfer Message Format
Each file transaction request or response includes two fixed-length blocks and may include
an optional data block of variable length. The fixed-length blocks are
• An 8-word message header (see heading 4.1.2.1 for this format)
• A 40-word message area. Some fields in this message area are fixed, and are echoed
back in the response. Other fields in the message area will contain response
information from the HM.
The optional data block which follows the message block can be up to 5760 words long for
read/write operations. Values in the individual file transfer transactions are 16-bit integer
unless otherwise noted.
4.10.1.2 Transaction and Command Codes
The same transaction codes are used for all file transfer request/response pairs.
• File Transfer Request—Transaction code 62
• File Transfer Response—Transaction code 63
The specific file transfer command to be executed is specified in a command code located in
word 9 of the message block. A summary of the file transfer commands follows.
Command
Code
File Transfer Request Section
Heading
1 Read LCN File 4.10.2
2 Write LCN File 4.10.3
3 Retrieve Single File Attributes 4.10.4
4 List Catalog into a File 4.10.5
5 Retrieve Volumes/Directories for a Device 4.10.6
6 List Volumes into a File 4.10.7
7 Copy File 4.10.8
8 Move File 4.10.9
9 Rename File 4.10.10
10 Create Directory 4.10.11
11 Delete Directory 4.10.12
12 Delete Files 4.10.13
13 Break Request 4.10.14
14 Data Out Request 4.10.15
15 Retrieve File Names and Extensions 4.10.16