Hello,
I'm running Ubuntu 8.04 and connecting to a FTP server from a LAN that
connects through a router that performs NAT.
I can connect to this server via plain ftp and everything works Ok.
lftp logs on Ok.
cd dirname works Ok.
ls hangs with message "`ls' at 0 [Making data connection...]"
It will repeat trying to execute ls forever hung at this point.
I ran it with debug enabled. Below is the output.
***Begin debug output***
[EMAIL PROTECTED]:~/ow$ lftp -u myname,mypassword -e "debug" ftp.domain.com
lftp [EMAIL PROTECTED]:~> ls
---- Connecting to ftp.domain.com (204.50.22.6) port 21
<--- 220---------- Welcome to Pure-FTPd [TLS] ----------
<--- 220-You are user number 5 of 50 allowed.
<--- 220-Local time is now 16:09. Server port: 21.
<--- 220-This is a private system - No anonymous login
<--- 220 You will be disconnected after 15 minutes of inactivity.
---> FEAT
<--- 211-Extensions supported:
<--- EPRT
<--- IDLE
<--- MDTM
<--- SIZE
<--- REST STREAM
<--- MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
<--- MLSD
<--- ESTP
<--- PASV
<--- EPSV
<--- SPSV
<--- ESTA
<--- AUTH TLS
<--- PBSZ
<--- PROT
<--- 211 End.
---> AUTH TLS
<--- 234 AUTH TLS OK.
---> OPTS MLST type;size;modify;UNIX.mode;UNIX.uid;UNIX.gid;
Certificate:
C=US,ST=Unknown,L=Unknown,O=Unknown,OU=Unknown,CN=server13.dayanadns.com,[EMAIL PROTECTED]
Issued by:
C=US,ST=Unknown,L=Unknown,O=Unknown,OU=Unknown,CN=server13.dayanadns.com,[EMAIL PROTECTED]
WARNING: Certificate verification: Not trusted
WARNING: Certificate verification: The certificate's owner does not
match hostname 'ftp.domain.com'
<--- 200 MLST OPTS
type;size;sizd;modify;UNIX.mode;UNIX.uid;UNIX.gid;unique;
---> USER myname
<--- 331 User myname OK. Password required
---> PASS mypassword
<--- 230-User myname has group access to: myname
<--- 230 OK. Current restricted directory is /
---> PWD
<--- 257 "/" is your current location
---> PBSZ 0
<--- 200 PBSZ=0
---> PROT P
<--- 534 Fallback to [C]
---> PASV
<--- 227 Entering Passive Mode (204,50,22,6,198,164)
---- Connecting data socket to (204.50.22.6) port 50852
`ls' at 0 [Making data connection...]
***End of debug output***
Any ideas what I can do to get it working?
Thanks,
Alex
--
Ourwoods.org
I am willing to make the mistakes if someone else is willing to learn from
them. - Larry Barry (206)