Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 down vote accepted

You need a client that can handle this. lftp (mirror -R , see http://www.russbrooks.com/2010/11/19/lftp-cheetsheet ) and ncftp (put -R) are two.

share|improve this answer
    
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. –  Paulocoghi May 12 '11 at 13:40
    
+1 for ncftp client –  Fedir Nov 23 '11 at 21:34

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.