Regarding Upload (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Jasmine, (2536 days ago) @ Nagendra Kumar Seetharamaiah

Hi Kumar,

once you upload file using PutFile, you should wait for Done event to fire which would mean transfer was successful. There's no need for additional check, since SSH layer was secured and if file wasn't uploaded properly then component would break connection during the transfer. If you want additional security, you can download file back and check it, or you can check for file length on remote side (for example using ListAttributes) or similar.

As for uploading multiple files, you can use PutFiles method, and then in LoopItem event decide if you will upload specific file or skip it.

I hope this helps!
Jasmine.

locked

Complete thread:

 

  • Regarding Upload
    • Regarding Upload