FTP error codes

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts Page 1 of 1

cedricminot

Posts: 1
Joined: Thu Nov 27, 2014 8:27 am

Post by cedricminot » Wed Mar 04, 2015 7:48 am
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.

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Tue Mar 24, 2015 1:17 am
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.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts Page 1 of 1