Re: Still haven't figured it out
The
So you keep adding all the already transferred file size repeatedly.
If you intended to count size of each file only once, the original code already does that. See the
If you really want to display real time progress for individual files, you need to remember the previous value of
FileTransferProgress
is called many times for each file transfer.
So you keep adding all the already transferred file size repeatedly.
If you intended to count size of each file only once, the original code already does that. See the
bytes
variable.
If you really want to display real time progress for individual files, you need to remember the previous value of
ef.FileProgress * currentFile.Lenght
to be able to calculate/add only the newly transferred bytes.