Common FTP Commands
command | example | explanation |
ASCII or text | ftp>ascii | set file type to ASCII |
binary | ftp>binary | set file type to binary |
bye, close or exit | ftp>close | end FTP session |
cd directory-name | ftp> cd chemistry | change working directory on remote computer |
dir, ls | ftp>dir | list directory on remote system |
get file-name | ftp>get funstuff.dat | transfer file from remote server |
help or ? | ftp> help | show FTP online help |
lcd | ftp>lcd mydir | change working directory on local computer |
mget | ftp>funstuf1.dat funstuf2.dat | transfer multiple files from remote computer |
mput | ftp>funstuf1.dat funstuf2.dat | transfer multiple files to remote computer |
open | ftp>open ftp.remote.com | open connection to apecified remote computer |
put | ftp>put funstuff.dat | transfer file to remote computer |
pwd | ftp>pwd | display working directory on remote computer |
user | ftp>anonymous | specify user name to remote computer |