clebo99
asked on
Supressing VBScript Message Box Error Messages
Ok,
I'm running a VBScript that connects to an outside contractors SFTP server to download some files. Thee script basically is:
Connect
If Connection is successful then
download files
If Not
Stop
End
The script generally works but if the server is actually "down", a message box comes up. The problem is that we are automating this script via a Scheduled Task and the job "hangs" when this message comes up.
Is there a simple way to supress any/all message boxes that come up? Like an "on error false" or something?
I'm running a VBScript that connects to an outside contractors SFTP server to download some files. Thee script basically is:
Connect
If Connection is successful then
download files
If Not
Stop
End
The script generally works but if the server is actually "down", a message box comes up. The problem is that we are automating this script via a Scheduled Task and the job "hangs" when this message comes up.
Is there a simple way to supress any/all message boxes that come up? Like an "on error false" or something?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.