GetFileSize ?

Nov 18, 2010 at 10:02 PM

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

Nov 22, 2010 at 4: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 4:15 PM

Wow, thanks! That was fast ! ;-)

Oct 26, 2011 at 2:22 PM
Edited Oct 26, 2011 at 2: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)