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'm on ubuntu. I only have sftp access to a remote server. The remote server disabled shell, so i can't use ssh or scp command.

Is there a way for me to recursively get the entire /var/www directory onto my localhost?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

According to this answer, Nautilus (the file manager in Gnome) allows you to sftp as if it were part of your filesystem. Another answer there mentions lftp which has a mirror command.

share|improve this answer
    
If you use lftp, the mirror command is more appropriate, because it will recursively grab everything in the directory requested. The mget command is for when you want to specify multiple individual files to download. –  James Sneeringer Apr 30 '10 at 18:27
    
Thanks, I've corrected my answer. –  Dennis Williamson Apr 30 '10 at 19:33

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.