On Sun, 9 Jan 2005, Denis Doroshenko wrote:

*size = strtol (respline + 4, NULL, 0);

where size is defined as "long int *" in the function's declaration. BTW. why's the base given to strtol is "0", not "10"? isn't that too flexible for a defined protocol?

Yes it is, SIZE returns a base-10 number.

The limitation seems to be hardwired throughout the source code, so it is not that simple to me

There is at least one (platform specific) patch floating around that introduces large file support to wget on Linux.


Until the situation is changed, I can recommend using curl for this kind of transfers. It supports large files on all platforms that do.

Having done lots of the adjustments in the curl code, I have to admit that the work (the transition to portable large file support) wasn't _that_ hard once we actually started working on it.

--
         -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
  ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

Reply via email to