Chapter 3 - FTP Commands
List of Commands
F T P A d a p t e r R e f e r e n c e G u i d e
2 0
Option Description
Note
When sending an FTP request to the AS/400, the
file must first be created on the AS/400 in order for the
len
parameter to pad the record correctly.
I
Image (binary)
L8
Local 8-bit types (usually equivalent to I)
D
Directory (file names only)
D1
Directory (file names only)
D2
Directory (server-defined format)
D3
Directory (easily parsed line format, as
defined in Internet draft
draft-bernstein-
eplf-02.txt
)
D4
Directory (machine-readable list format as
defined in Internet draft
draft-ietf-
ftpext-m1st-02.txt
)
+
Append the transferred data to the existing file.
Note
An additional forward slash (
/
) is required to separate the user and host
parameters from file and transfer type, if specified.
Example
The following is an example of the input card command in the Map Designer:
-T –URL FTP://sales@host/c:/forms/myfile.txt
The command causes the
myfile.txt
file to be retrieved from a remote host
named
sales
. The
–T
adapter command specifies that the adapter create a trace
file to report adapter activity information during the FTP process.