FTP & AFP using terminal commands?

Using terminal commands, I want to FTP & AFP to a server to download some files… how do I go about doing this via the terminal?

Do you just want to download something via FTP? If so, take a look at cURL. Type “man curl” without the quotes in Terminal.app. You can script AppleShare transfers using AppleScript. To do that from the command line, you could use the osascript command to run AppleScript commands.

Can you be more specific? Some things are easy, others hard, and it’s not clear exactly what you are trying to do.

man ftp
will tell you a bit
but this works best

ftp://username:password@servername.com

then type
ls

for a list of files
then type

get <fileName.###> (with out the angle brackets)

then the file will be on you drive in the current working directory