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'm trying to download a file from a Linux server via FTP from Windows command line. I've successfully downloaded the file with FileZilla (same server, same file), but I want to do it in cmd.exe.

I've tried two things:

$ ftp 10.58.83.2  
ftp> cd /home  
Not connected.  
ftp>  


$ ftp  
ftp> open 10.58.83.2  
ftp> cd /home  
Not connected.  
ftp>  

Why am I not prompted to enter user creds?

== EDIT ==
I tried to specify the port

$ ftp
ftp> open 10.58.83.2 22
Connected to 10.58.83.2.
SSH-2.0-OpenSSH_4.3
<Waits for a minute or so>
Connection closed by remote host.
ftp>  

After it says I'm connected it just waits a minute and then closes the connection. I have succeeded with FileZilla so it should be possible, right?

share|improve this question
    
The server is either using a different port for ftp or you have the wrong address. –  Jason H May 23 '13 at 14:20
    
ftp is port 21, not 22. –  Flup May 23 '13 at 14:48
    
I can connect with FileZilla on port 22. Not on port 21 - it says Connection refused. But when I connect on port 22 with FileZilla it uses SFTP. –  JonatanEkstedt May 23 '13 at 14:55

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.