Use the ftp command

From Linuxintro
  • upload a file via ftp:
ftp -p -u ftp://user:password@server/path file
  • download a file via ftp:
ftp -p -d ftp://user:password@server/path/file

See also