Coms failure during FTPGetFile> causes script to hang.

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Dick99999
Pro Scripter
Posts: 84
Joined: Thu Nov 27, 2008 10:25 am
Location: Netherlands

Coms failure during FTPGetFile> causes script to hang.

Post by Dick99999 » Thu Oct 28, 2010 1:40 pm

For example when the mobile network drops out, my active FTPGetFile should fail. It does so by displaying 'Transfer Complete' in the FTP status window. (It is of course not complete).
When this happens, the little FTP status window stays on, and my compiled script.exe hangs. Windows 7 displays the exe name and the message name.exe has stopped working.

Is there any way to catch this error before the script hangs? I already have set IGNOREERRORS to 1. Timeout is set to 20 secs but the FTP status immediately 'finishes' after the failure
Using MS 12.1.0, a nice update b.t.w, thanks!

== edit timeout set

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts