thotchkiss Posted July 26, 2012 Share Posted July 26, 2012 Hi, When executing the script below, the application gets to the ftp.Upload() line and freezes. No error is generated, the application just hangs indefintely. The same code works on other machines, and has previously worked on the machine in question. I have network connectivity and can FTP using Windows Explorer. OS is Windows 7 Professional. Any ideas why I don;t at least get a connection error if that is the problem? Link to comment Share on other sites More sharing options...
AzeoTech Posted July 27, 2012 Share Posted July 27, 2012 It appears the docs have fallen a little behind. The ftp.Upload() function is a blocking function. My guess is that its hanging trying to establish a connection, where before it was able to communicate easily. You should run upload() in it's own thread / sequence, then start that sequence by using beginseq(mySequence). Then use another sequence to monitor the progress and abort if needed. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.