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 1
Ignore (-I or -IGNORE)
The Ignore command (
-I
or
-IGNORE
) allows specified FTP error codes to be
ignored by the adapter.
-IGNORE error_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 -URL
ftp://user:pass@server/file.txt