Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


DMS MIS Team
2016-08-08T12:22:45Z
We have a requirement to trigger notifications after any SFTP failures with our clients. We use a in-house notification executable which we are calling through VisualCron (this process works fine). I need to pass the SFTP error to the notification program but I'm having an issue figuring out how to write the variable.

What's the best way to write an error from an SFTP session into a short-term variable? We are sending arguments similar to the following to the executable: -t 11 -r 1 -f "SFTP Failure" and would like "sftp failure" to be the error code from that specific session.
Sponsor
Forum information
Support
2016-08-08T21:35:58Z
I think you are interested in the Error output. You can reach it in notification through {TASK(PrevTask|StdErr)}. It can contain any error format as many things can go wrong - there is no specific "error code" output for SFTP.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top