I've been using the FtpClient library for a couple of weeks now and have found it useful. Thanks for your work.
I have come across one bug in the FTPTransferInfo class whereby a resumed transfer will result in the incorrect calculation of bytes per second. I believe the accessor method should be as follows. This calculation takes into account the rest value and as
such reports the bytes per second correctly even when resuming a transfer.
public long BytesPerSecond
TimeSpan t = this.Now.Subtract(this.Start);
if (Transferred > 0 && t.TotalSeconds > 0)
return (long)Math.Round( (Transferred-Rest) / t.TotalSeconds, 0);