wodSFTP using without events (wodSFTP / wodSFTP.NET / wodSFTPdll)
Hi,
i want use wodsftp in a multithreaded enviroment. Is it possible to use the commands synchron without any event handling?
I need something like
sftp.connect() 'Wait here until connect is ready
sftp.putfile(test.txt) 'Wait until file is transfered
sftp.disconnect
This code should run in a asynchron thread, so i do not need any events.
Thank you for your help
Peter
Re: wodSFTP using without events
Hi Peter,
Yes, but you will have to Enable Blocking mode before you call The connect Method.
Just set Blocking Property to True, and everything should work.
Regards,
Damba