[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wget
Subject:    Wget and ftp server
From:       "Sampei" <sampei02 () tiscalinet ! it>
Date:       2003-04-04 15:30:18
[Download RAW message or body]


I'm using proxy Squid Stable 2.5 in my company
and I want to download all binary files from a "public ftp server"
into my internal server.

Proxy squid: RedHat 7.3 

I created a script  and I run it into my internal server.
In this script I set "ftp_proxy variable" with its address ip and its port, and I exported this variable.

WGET ftp_proxy... -m ...  ftp://...directory/

Squid gives to wget an INDEX.HTML file, 
which contains a files list of the directory 
specified in ftp://...directory/  but in HTML mode, 
so it's impossible for wget to translate file names correctly.
Infact wget result fails.

I thought filtering index.html into a clean file (e.g. called "clean") and 
using wget to download binary files once to once,
which are indicated into this "clean" file.

Problem reappears every time that I have a SUB-directory,
infact index.html file is recreated . 

Do you know the way to solve this problem,
to download whole directory structure (files included) into my ftp server
using squid ?

thanks

Riccardo









[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic