ftp

ftp - Internet file transfer program.


Connect to FTP server:

ftp 192.168.0.1

Change local directory:

lcd /home/user/files

Change Remote Directory:

cd pictures

Download file from FTP server:

get picture.jpg

Download multiple files:

mget *.jpg

Upload file to FTP server:

put file.txt

Upload multiple files:

mput *.doc

Delete a file in remote directory:

delete file.txt

Create a Directory in remote server:

mkdir pictures

Delete a Directory:

rmdir pictures

Set the file transfer mode to ASCII:

ascii

Set the file transfer mode to binary:

binary

Connect To Another FTP Server:

open ftp.server.com

Close FTP connection:

exit