Success (-S or -SUCCESS)

Success (-S or -SUCCESS) is an optional FTP adapter command that permits a map to succeed when 300 level error codes, as defined in RFC 959, are returned. If this command option is not specified, the default behavior of the adapter is to fail on 300 level error codes.

When you specify -SUCCESS on the adapter command line, a numerical integer value between 300 and 399 is required. When this value is returned, the adapter does not fail.


-SUCCESS error_code[:error_code...]
Option
Description
error_code
An FTP error code, as defined in RFC 959, between 300 and 399. Separate multiple error codes with a colon (:). For example:

-SUCCESS 301:302:303