pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: using seperate fetch agents depending upon protocol



Blair Sadewitz wrote:
> I was wondering what's the most sensible way to have pkgsrc use
> different programs for fetching files depending upon the protocol.
> I'd like to use 'aget' for http and then fall back to /usr/bin/ftp if
> aget fails.

At first I thought aget would download a file from multiple sources in
parallel. However as far as I can see you can only pass one URL, so with 25
threads you'd be downloading from the same server using 25 connections, right?
Also it doesn't even support HTTP redirects which could be used as poor man's
load balancing and its HTTP support is certainly less than incomplete. If it's
not meant as a mere proof-of-concept I'd say this tool is quite dubious.

-- 
Christian



Home | Main Index | Thread Index | Old Index