Page 1 of 1

FTP error codes

Posted: Wed Mar 04, 2015 7:48 am
by cedricminot
i'm searching a way to get the FTP error codes that caused a transfer to fail.
example: my FTP transfer fails because of:
[8098 - FTP_Copy_File] 550 You are not authorized to access C:/xxxx/yyyyy
i'm able to detect the FTP transfer fails, but not the reason for it.
I would like to print this info (and only this info) to my own error log (${KOFILE}) that i will send by mail at the end of the project execution.
thanks per advance for your help.
Cedric.

Re: FTP error codes

Posted: Tue Mar 24, 2015 1:17 am
by Support_Rick
Cedric,

${system.job.error} will contain the "last" error that occurs in the job if one is detected. You can save this information to your error table as an error occurs (trap the error) giving you access to that information.