Super User is a question and answer site for computer enthusiasts and power users. 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

Lets say for kicks that my site ftp login details are:

100.100.10.100 username password

What is the best (fastest download with a relatively simple syntax) method to download an entire site folder (including all sub folders) via ftp using terminal on a mac? Using strictly default out of the box tools in 10.8 - without having to install extra tools please.

Please don't suggest wget - I'm failing miserably with installing it for mysterious reasons.

share|improve this question

migrated from stackoverflow.com Jan 8 '13 at 15:34

This question came from our site for professional and enthusiast programmers.

Check out SFTP. Should be enabled by default.

sftp -r user@host:directory

Man page: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/sftp.1.html

share|improve this answer
    
SFTP may totally not be enabled by default depending on what server the user is connecting to. – Bob Kruithof Jun 3 '15 at 14:22

I had to tell you that the default ftp can't get files recursively. You could use shell to do it. But I sugguest you try lftp (not wget ^_^)

share|improve this answer
    
Okay, thanks that's noted. but i'm crossing my fingers hoping there might be some other way. – adriatiq Jan 8 '13 at 6:18

If sftp is not enabled, you can try ftpcopy

I never tried to use it on mac, but it claims to compile on it

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .