IBM FTP Adapter Ignore -I or -IGNORE, Keep Server -KS, FTP Commands, List of Commands, Option

Models: FTP Adapter

1 40
Download 40 pages 12.42 Kb
Page 21
Image 21
Ignore (-I or -IGNORE)

Chapter 3 - FTP Commands

List of Commands

Ignore (-I or -IGNORE)

The Ignore command (-Ior -IGNORE) allows specified FTP error codes to be ignored by the adapter.

-IGNOREerror_code[:error_code…]

Option

Description

error_code

Specify the FTP error codes to be ignored by the

 

adapter. A colon (:) must separate multiple error

 

codes.

For example, if you specified the command:

-I 450:550

the adapter ignores errors of type 450 (file busy) and errors of type 550 (file not available) and returns a zero-length file to the map. A list of error codes appears in RFC 959 (beginning on page 37 of the document at http://www.ietf.org/rfc/rfc0959.txt).

Keep Server (-KS)

Use the Keep Server adapter command (-KS) to specify in a map rule that when retrieving a file from an FTP server, it should not be deleted after transfer.

This option should be used if this behavior is desired when using the GET mapping

function. When invoking the adapter from an input card, the same behavior can be accomplished through the card property, OnSuccess, by setting it to Keep.

This is an optional command.

-KS

For example:

-KS-URLftp://user:pass@server/file.txt

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 1

Page 21
Image 21
IBM FTP Adapter Ignore -I or -IGNORE, Keep Server -KS, FTP Commands, List of Commands, IGNORE errorcodeerrorcode…, Option