Put File not working - WeOnlyDo Discussion board

Put File not working (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Dave M, Friday, September 15, 2023, 15:40 (225 days ago) @ Jasmine

I did what you told me and it worked and then it did not work. I cannot get this to upload consistently

We use the same WODSFTP in multiple programs so I am unconvinced it's an issue with your program. I am wondering if the server could be not connecting due to trying too much at once.

Dave

Hi.

Ok, please don't use both Blocking = True and Events - since calling blocking method from within events will block everything.

You can move PutFile call to after successful Connect. Since blocking is true, that is line below Connect call.

Does that help?

Jasmine


Complete thread: