Download entire folders using command-line FTP?

I need to download entire folders from one Haiku machine to another, but not sure if it’s possible. Does anyone have a short list of basic command-line ftp commands? I can connect and use “ls” to list the remote files, and use “get” to download a single file, but that’s about it. I’ve already done a lot of internet searching for ftp commands, but the commands differ between OS’s. GUI-based ftp clients won’t work between my two Haiku machines, so I need to use Terminal.

Our FTP client has an help command that lists what’s available. mget may work for what you need.

Another option for mirroring stuff is to use wget, which supports the FTP protocol and can recurse into directories.

Secure copy is another option as Haiku comes with sshd running.