+1 vote

Hi. I purchased today your FTP product and it is great.
I should develop a VBnet APP to transfer many files from a local structure (folder and files) to a remote location as a backup does.
I tried Progress EVent and BatchProgress Event and they work, but I would to create two progress bars in a form, one for monitoring the whole upload, and one for each directory uploaded.
Is it possible ? Do you have some samples?
Thanks

by (450 points)

1 Answer

0 votes

Ftp.Progress gives you information about the progress of the current FTP transfer (Percentage, TotalBytesToTransfer, TotalBytesTransferred, Transferred).

Ftp.BatchProgress gives you information about current batch upload or download.(CurrentFile, Percentage, TotalBytesToTransfer, TotalFilesToTransfer, TotalFilesTransferred).

It seems that out-of-the-box you won't get progress of the current folder (folders may be nested!).

I think the best approach would be to divide your entire operation into several batches (per folder) and monitor them using BatchProgress/Progress separately.

by (297k points)
Thank you ! I will try in this way!
...