Hello all, I downloaded and installed LFTP (2.6.4) because I was hoping I could use it to mirror a public FTP site from behind my corporate firewall, which used an HTTP proxy for FTP traffic. I installed lftp on a SUN Ultra10/Solaris 8.
Using lftp I can download individual files across this firewall perfectly (i.e. 'get /pub/somedir/somefile.gz'), but mirror fails! I have tried the following: set hftp:proxy 192.168.1.1:80 # note: fake address! open sunsite.dk mirror /pub/cygwin /mirrors/cygwin dns cache hit ---- Connecting to proxy 196.7.183.90 (196.7.183.90) port 80 ---- Sending request... ---> HEAD ftp://sunsite.dk/%2Fpub/cygwin/ HTTP/1.1 ---> Host: sunsite.dk ---> User-Agent: Mozilla/4.7 [en] (WinNT; I) ---> Connection: keep-alive ---> <--- HTTP/1.1 404 Not found <--- Accept-Ranges: bytes <--- Date: Mon, 17 Feb 2003 12:40:06 GMT <--- Content-Length: 577 <--- Content-Type: text/html <--- Server: Microsoft-IIS/5.0 <--- Pragma: No-cache <--- mirror: Access failed: 404 Not found (/pub/cygwin) **** Peer closed connection ---- Closing HTTP connection Compare this to a normal 'get': lftp sunsite.dk:~> get /pub/cygwin/setup.ini dns cache hit ---- Connecting to proxy 196.7.183.90 (196.7.183.90) port 80 ---- Sending request... ---> GET ftp://sunsite.dk/%2Fpub/cygwin/setup.ini;type=i HTTP/1.1 ---> Host: sunsite.dk ---> User-Agent: Mozilla/4.7 [en] (WinNT; I) ---> Connection: keep-alive ---> <--- HTTP/1.1 200 OK <--- Date: Mon, 17 Feb 2003 12:41:00 GMT <--- Content-Length: 169611 <--- Content-Type: application/octet-stream <--- ---- Receiving body... ---- Received all copy: get hit eof copy: put confirmed store copy: get is finished - all done 169611 bytes transferred in 15 seconds (11.1K/s) Or a normal 'ls' of a directory: lftp sunsite.dk:~> ls /pub/cygwin dns cache hit ---- Connecting to proxy 196.7.183.90 (196.7.183.90) port 80 ---- Sending request... ---> GET ftp://sunsite.dk/%2Fpub/cygwin/ HTTP/1.1 ---> Host: sunsite.dk ---> User-Agent: Mozilla/4.7 [en] (WinNT; I) ---> Connection: keep-alive ---> <--- HTTP/1.1 200 OK <--- Date: Mon, 17 Feb 2003 12:41:41 GMT <--- Content-Type: text/html <--- Connection: close <--- ---- Receiving body... drwxr-xr-x -- .. * apache ftp over http proxy listing matched -rw-r--r-- 1 1004 1004 132 Feb 15 06:54 md5.sum ---- Hit EOF * apache ftp over http proxy listing matched drwxr-sr-x 162 1004 1004 8192 Feb 14 19:21 release * apache ftp over http proxy listing matched -rw-r--r-- 1 1004 1004 43913 Feb 15 06:20 setup.bz2 * apache ftp over http proxy listing matched -rwxr-xr-x 1 1004 1004 171008 Jul 4 2002< setup.exe * apache ftp over http proxy listing matched -rw-r--r-- 1 1004 1004 169611 Feb 15 06:20 setup.ini * apache ftp over http proxy listing matched drwxr-sr-x 2 1004 1004 96 Dec 22 20:54 tmp * apache ftp over http proxy listing matched drwxr-xr-x 3 1004 1004 96 Feb 16 10:54 xfree ---- Closing HTTP connection copy: get hit eof copy: put confirmed store copy: get is finished - all done Seems like the 'HEAD' command used by 'mirror' messes things up here. Is there anybody who can tell me whether this is supposed to work, and if so, help me to get it running? Maarten __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
