Download speed in Ftp

+1 vote

How to i know speed download in Ftp.dll?
in documentation i didn't found how to get speed download

asked Oct 10, 2017 by Lukas

1 Answer

0 votes
 
Best answer

You can use progress event (Ftp.Progress) to compute speed.
Use ProgressEventArgs.Transferred property it gets the number of bytes transferred during the last network operation operation.

Mark time between start and first event (or between 2 subsequent events) and use Transferred property value.

answered Oct 10, 2017 by Limilabs support (230,760 points)
...