I dunno about FTP, but HTTP would be pretty easy.
lynx http://wherever/path/to/file.jpg -dump > file.jpg
For FTP, have you tried ncftp? The following webpage looks promising:
"This is for people who want set up a shell script that will run with no user interaction and will ftp some files..."