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 transfer a few gigs of files from server A to B. I own SSH access to server A, but I have only FTP access to B.

Since I can not send one .tar file from A to B, for the reason that I can not untar it later, I need to perform an FTP transfer.

How can I transfer (via FTP) all files including the directories and all sub directories?

I tried using mput * and mput *.*, but they did not work.

About solutions like LFTP or others

The lftp is a great solution, but I can not install it on the server, because it is not a dedicated server or a VPS. It is a common shared webhosting with SSH access.

share|improve this question
up vote 3 down vote accepted

You need a client that can handle this. lftp (mirror -R , see ) and ncftp (put -R) are two.

share|improve this answer
+1 for ncftp client – Fedir Nov 23 '11 at 21:34

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.