Hello,
I had installed since a long long time the 2.6.1a version of lftp (2002)
. Recently I have downloaded the 3.3.0 version but it is no more working
like the 2.6.1a was.
Let me explain the context:
I have access to internet through a proxy. I have set up lftprc with
set ftp:proxy http://laurent besson:<passwd>@proxy.gre.st.com:8080
Now I launch lftp 3.3.0 and do the following
lftp :~> open ftp.synopsys.com
---- Resolving host address...
---- 1 address found
lftp ftp.synopsys.com:~> cd pub
---- Connecting to proxy proxy.gre.st.com (164.154.120.2) port 8080
---- Sending request...
---> HEAD ftp://ftp.synopsys.com/pub/ HTTP/1.1
---> Host: ftp.synopsys.com
---> User-Agent: lftp/3.3.0
---> Proxy-Authorization: Basic bGF1cmVudCBiZXNzb246Y3JldzQy
---> Connection: keep-alive
--->
<--- HTTP/1.0 200 OK
<--- Server: Squid/2.4.STABLE7
<--- Mime-Version: 1.0
<--- Date: Tue, 20 Sep 2005 15:49:15 GMT
<--- Content-Type: text/html
<--- Age: 165001
<--- X-Cache: HIT from cps-eun.st.com
<--- X-Cache: MISS from proxy.gre.st.com
<--- Proxy-Connection: keep-alive
<---
cd ok, cwd=~/pub
lftp ftp.synopsys.com:~/pub> ls
---- Sending request...
---> GET ftp://ftp.synopsys.com~%2F/pub/ HTTP/1.1
---> Host: ftp.synopsys.com
---> User-Agent: lftp/3.3.0
---> Proxy-Authorization: Basic bGF1cmVudCBiZXNzb246Y3JldzQy
---> Connection: keep-alive
--->
<--- HTTP/1.0 400 Bad Request
<--- Server: Squid/2.4.STABLE7
<--- Mime-Version: 1.0
<--- Date: Thu, 22 Sep 2005 13:39:20 GMT
<--- Content-Type: text/html
<--- Content-Length: 1185
<--- Expires: Thu, 22 Sep 2005 13:39:20 GMT
<--- X-Squid-Error: ERR_INVALID_URL 0
<--- X-Cache: MISS from lps1.gnb.st.com
<--- Proxy-Connection: close
<---
---- Closing HTTP connection
ls: Operation not supported: 400 Bad Request (GET)
I suppose this is linked with the ~%2F that appears in the path (and
that is not present in version 2.6.1a). I have read your FAQ and your
talking about this %2F (linked to the home directory) but that's not
clear to me if it should appear when performing a 'ls' command.
Could you help me on that ?
Thanks a lot,
Laurent.