RE: ftp bug in 1.10

2005-06-27 Thread Herold Heiko
From: Hrvoje Niksic [mailto:[EMAIL PROTECTED] the 64-bit download sum, doesn't work for you. What does this program print? #include stdio.h int main (void) { __int64 n = 100I64; // ten billion, doesn't fit in 32 bits printf(%I64\n, n); return 0; } It should print a

Re: ftp bug in 1.10

2005-06-25 Thread Hrvoje Niksic
Herold Heiko [EMAIL PROTECTED] writes: Downloaded: bytes in 2 files Note missing number of bytes. This would indicate that the %I64 format, which Wget uses to print the 64-bit download sum, doesn't work for you. What does this program print? #include stdio.h int main (void) { __int64 n =

Re: ftp bug in 1.10

2005-06-25 Thread Hrvoje Niksic
Hrvoje Niksic [EMAIL PROTECTED] writes: This would indicate that the %I64 format, which Wget uses to print the 64-bit download sum, doesn't work for you. For what it's worth, MSDN documents it: http://tinyurl.com/ysrh/. Could you be compiling Wget with an older C runtime that doesn't support

Re: ftp bug in 1.10

2005-06-25 Thread Gisle Vanem
Hrvoje Niksic [EMAIL PROTECTED] wrote: It should print a line containing 100. If it does, it means we're applying the wrong format. If it doesn't, then we must find another way of printing LARGE_INT quantities on Windows. I don't know what compiler OP used, but Wget only uses %I64

Re: ftp bug in 1.10

2005-06-25 Thread David Fritz
I64 is a size prefix akin to ll. One still needs to specify the argument type as in %I64d as with %lld.

Re: ftp bug in 1.10

2005-06-25 Thread Hrvoje Niksic
David Fritz [EMAIL PROTECTED] writes: I64 is a size prefix akin to ll. One still needs to specify the argument type as in %I64d as with %lld. That makes sense, thanks for the explanation!

Re: ftp bug in 1.10

2005-06-15 Thread Jochen Roderburg
Herold Heiko schrieb: I have a reproducable report (thanks Igor Andreev) about a little verbouse log problem with ftp with my windows binary, is this reproducable on other platforms, too ? wget -v ftp://garbo.uwasa.fi/pc/batchutil/buf01.zip ftp://garbo.uwasa.fi/pc/batchutil/rbatch15.zip