IBM FTP Adapter Example, FTP Commands, List of Commands, OptionDescription, ftpext-m1st-02.txt

Models: FTP Adapter

1 40
Download 40 pages 12.42 Kb
Page 20
Image 20
ftpext-m1st-02.txt)

Chapter 3 - FTP Commands

List of Commands

OptionDescription

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

L8

D

D1

D2

D3

Image (binary)

Local 8-bit types (usually equivalent to I)

Directory (file names only)

Directory (file names only)

Directory (server-defined format)

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 –Tadapter command specifies that the adapter create a trace

file to report adapter activity information during the FTP process.

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

Page 20
Image 20
IBM FTP Adapter manual Example, FTP Commands, List of Commands, OptionDescription, ftpext-m1st-02.txt