error 30027 - WeOnlyDo Discussion board

error 30027 (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Jasmine, Thursday, February 12, 2015, 18:25 (1396 days ago) @ AndyJ

Hi Andy.

Events are always fired. But you should not do any wodSFTP related things inside, since you may be interfering wodSFTP's mechanisms when blocking is used.

When wodSFTP uses blocking, it stops execution of your app until it completes. So, it downloads files, and fires the event, then it downloads more files, downloads more events, and finally releases the blocking and your program resumes.

If you inject any wodSFTP related code in any of events, or even call new methods or change properties during execution, then wodSFTP will never get control back from firing the event and cannot perform cleanup. Even more, new method calls could intefere with internal state mechanism, and you could get crashes and unexpected behavior.

Don't use 'DoEvents' in events as well.

What kind of code do you have in events?


Complete thread: