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:
http://www.meangene.com/notes/autoftp.html
"This is for people who want set up a shell script that will run with no user interaction and will ftp some files..."