Data Transformation Engine FTP Adapter Reference Guide

Chapter 3 - FTP Commands List of Commands
FTP Adapter Reference Guide
20
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:
-TURL 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.