Re: When reporting transfer progress, access overall & current file size?
Thanks for sharing your code.
Anyway, I have added this request to the tracker:
Issue 2390 – Include file and overall sizes into FileTransferProgressEventArgs
You can vote for it there.
To print
Anyway, I have added this request to the tracker:
Issue 2390 – Include file and overall sizes into FileTransferProgressEventArgs
You can vote for it there.
To print
$transferredSizeLocal / 1MB
with decimal places, just replace N0
with number of decimal places you want to show, e.g. N2
.