[squid-users] ftp directory mirror via squid

From: <squid@dont-contact.us>
Date: Mon, 11 Jul 2005 21:46:36 -0400

Quick question... when doing ftp via wget through a squid proxy server, how can one do a recursive directory mirror?

An example script that mirrors an ftp site:

        wget -m ftp://apt.sw.be/pub/dag/redhat/el4/en/i386/dag/

Works great. But try to do it via squid:

        export ftp_proxy=http://proxy.my.com:3128
        wget -m ftp://apt.sw.be/pub/dag/redhat/el4/en/i386/dag/

And one gets a nice html file instead of the directory structure.

Is there an easy way to work around this, either by tweaking wget or squid? Or is there a better, simple, command line tool for doing an ftp mirror via squid?

Thanks for the help.
  
Received on Mon Jul 11 2005 - 19:47:23 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT