Oliver Schulze L. wrote:
Hi,
I wonder if it is posible ot make wget reuse an open ftp connection when
you pass 2 URL as parameters and both are in the same server?

For example:
wget -c ftp://ftp.example.com/pub/file1.txt ftp://ftp.example.com/pub/another-file.txt
will make 2 connections, 2 logins, etc.

The problem I have is that since wget does not support regex, I have to pass
nearlly 300 parameters to wget, so the ftp I download from gets overloaded.
Not to mention that doing login/logout is a time consuming task.

i am implementing right now a connection cache mechanism which will be included in the next release of wget.

--
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                          http://www.tortonesi.com

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool  http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux            http://www.deepspace6.net
Ferrara Linux User Group                 http://www.ferrara.linux.it

Reply via email to