This project is read-only.

GetFileSize ?

Nov 18, 2010 at 11:02 PM

Would it be possible to get the size of the remote file before downloading ?

Nov 22, 2010 at 5:12 PM

Hi technojo,

I added a GetFileSize method in the latest release (v. Just download that, and you should be all set.

Nov 22, 2010 at 5:15 PM

Wow, thanks! That was fast ! ;-)

Oct 26, 2011 at 3:22 PM
Edited Oct 26, 2011 at 3:24 PM

There is an issue in the code, the FtpGetFileSize should return a "uint" and not a "int".

The problem is when the file size is above 2^31  (2.1GB)