If using an FTP or SSHFTP customer script, do the following:
If you need to specify an error, you specify a statusCode other than 200, and an error will be logged and an advisory message on the Error subject will be sent. To do this, set the variable inside the scripts via the job slot variable.
Example:
_________
job.put("userStatusCode", 553);
job.put("userStatusMsg", "Permission denied when storing the file on the FTP Server");
________
For SSHFTP connections, the Connect() explicitly is not called from the the script, so the statusCode cannot be set. in this case, use UserLogAccess object to set the status to ERROR whenever you encounter a general error. It by default generates and RV error signal on the following subject.
___
"AX.BC.BC-INSTANCENAME.PROTOCOL.ERROR.TRANSPORT.SCRIPT"
____