SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
error handling

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
error handling
Author Message
Rick Ireland



Joined: 30 Oct 2000
Posts: 44

Post error handling Reply with quote

...is there an error handling mechanism similar to VB?
I have to transfer numerous files to and from several locations on the net, and on occasion a userid account is not active on a given server; I want to trap the error that results from the FTPFileExists command and continue in to the next file, user or server.

Wed Oct 31, 2001 8:16 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: error handling Reply with quote

You can turn on "ignore errors" job option, but then you have to do all error checking yourself, in other words if the FTPFileExists fails, the script will continue running, and so after FTPGetFile you may want to add call to FileExists to check if the specified file was downloaded.

: ...is there an error handling mechanism similar to VB?
: I have to transfer numerous files to and from several locations on the net,
: and on occasion a userid account is not active on a given server; I want
: to trap the error that results from the FTPFileExists command and continue
: in to the next file, user or server.

Wed Oct 31, 2001 8:54 am View user's profile Send private message
Rick Ireland



Joined: 30 Oct 2000
Posts: 44

Post Re: error handling Reply with quote

Yup, that'll work just fine - thanks!
: You can turn on "ignore errors" job option, but then you have to do
: all error checking yourself, in other words if the FTPFileExists fails,
: the script will continue running, and so after FTPGetFile you may want to
: add call to FileExists to check if the specified file was downloaded.

Wed Oct 31, 2001 1:59 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.