Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to connect to a an ftp through command line using

ftp ftpperso.free.fr

I am then prompted for username and password.

I get this message

230 User username logged in.
Remote system type is UNIX.
Using binary mode to transfer files.

and status confirms that I am connected to the server.

However when I then try any command (ie. ls) the console freezes and nothing happens.

Do you have any idea of what is going on?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You are probably behind a NAT, and therefore need to enable passive mode before doing anything.

ftp> passive
Passive mode on.
share|improve this answer
    
I'll try that tonight. What is a NAT by the way? –  Alfred M. Nov 13 '12 at 8:46
2  
What is a NAT by the way? @AlfredM, Network Address Translation. It lets you connect multiple devices to your Internet connection without having to give each one a (globally) unique IP address. –  Synetech Dec 2 '12 at 1:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.