If you’re trying to figure out how to recursively download a directory with lftp, the wonderful command-line FTP and SFTP client, this is what you want:
mirror <directory>
… and that’s that. Hopefully this will be more helpful to someone than the current Google documentation results. 😉
Update: Thanks to molok in the comments, here’s how you upload recursively:
mirror -R <directory>