Regarding Upload - WeOnlyDo Discussion board

Regarding Upload (wodSFTP / wodSFTP.NET / wodSFTPdll)

by wodSupport, Sunday, July 22, 2018, 17:58 (2098 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.


Complete thread:

 

  • Regarding Upload - Nagendra Kumar Seetharamaiah, 2018-07-22, 13:01 [*]
    • Regarding Upload - wodSupport, 2018-07-22, 17:58