Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello I have a strange problem, I want to transfer files via ftp between two servers. When I transfer the files sing the client, it works fine, but when I use command line I get: 425 Can't open data connection. When I use the command line from my computer it works fine. I configured Passive mode of the server to use ports 5000-5100, and opened them on both servers, in Inbound and Outbound sections. What am I missing?

share|improve this question

By "using the client" I assume you mean the Filezilla GUI client? Is that set to use passive mode? If you are using passive mode you need to also direct the command-line client to use passive mode. The command-line client uses active mode by default. Enter the following statement after you connect to the ftp server:


So, the full conversation would be like

C:\> ftp  
[enter your login and password as necessary]  
ftp> GET somefile.txt  
ftp> BYE

Give that a shot and see if it works for you.

share|improve this answer

Your Answer


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.