Put File not working - WeOnlyDo Discussion board

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

by Dave, Monday, September 25, 2023, 17:52 (423 days ago) @ Dave M

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

So, I got this working, but it requires a delay. I have to put in a pause in the program to wait 20 seconds. It is in and out of working. One file will upload and the next will not.

Should we be using a newer version of wodSFTP.dll (our version - 3.8.7.220) or a different WOD product?

Dave


Complete thread: