On Tue, 1 Nov 2005, Oliver Schulze L. wrote:

I sugested this aproach because it will be far more easy to add a new option for enabling the "reuse ftp connection" feature and groups all URLs from the same host, than implementing a full cache system.

The logic for "grouping" the URL per host (and user+password) is just about as advanced as the logic for matching hosts in a connection cache.

The difference is mainly that "grouping" effects in what order the downloading is done, while a cache keeps the order but risks getting the connection closed while the middle transfer is done (in the case host1 host2 host1 where the host1 transfer is very slow).

Without knowing much about wget internals, one could imagine the same concept being used for HTTP persistent connections, downloading wildcard FTP files as well as multiple URLs specified on the command line.

--
         -=- 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