Re: SFTP and LoopFiles - WeOnlyDo Discussion board

Re: SFTP and LoopFiles (General questions)

by Premal, Wednesday, March 04, 2009, 21:20 (5531 days ago) @ Premal

Hello Damba

It all works well if I use it with events. I would like to get the same functionality without using events....that is setting Blocking = true. How would i be able to get FileCount as well as FileNames for the files I want to download from SFTP server?

Thanks,
Premal

Hello Damba

Perfect. That works great! Thanks for all your help!

Thanks,
Premal

Premal,

It completely depends on your approach. Both ways will work. You can't know how many files were downloaded, but you can always make a member variable (i.e. FilesCount) and increase it by one on each LoopItem event.

That way you get total number of files downloaded.

Hope this helps.

Regards,
Damba


Complete thread: