Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I need to FTP in from one server to another

If I FTP using my local PC using Krusader I'm able to FTP into the server

but if I ssh into one server and I'm trying to FTP to the server using the same ftp credentials I get message [Resolving host address...]

I know this address is correct since I can ping it from the server

I use the following command

lftp 'open -u username,password server'

If I use the same command to ftp to a different server it works.

Any help advise will be greatly appreciated.

share|improve this question
Is FTP a requirement? Otherwise I would strongly recommend using sftp to transfer the files instead. Almost all ssh daemons support sftp. That way you avoid all the problems with FTP (including firewalls, passwords in clear text, no confidentiality, no integrity checks and so on). Even if you don't worry about somebody seeing the data the lack of integrity protection is nasty when transfering data between servers. – pehrs Mar 26 '10 at 13:17
up vote 1 down vote accepted

Ok this might be obvious but try using the IP instead of the hostname

lftp 'open -u username,password IP'

from the output

[Resolving host address...]

It seems that lftp has some trouble resolving the IP address.

share|improve this answer

Is there a firewall between the two servers that is preventing FTP?

And I'm with pehrs, use ssh


share|improve this answer

If I can use ssh, I usually just use scp instead of sftp. It's a bit faster on the transfer.

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.