Monday, 8 April 2013

Computer network: FTP commands,File Transfer Protocols


Object: Study FTP program. Access a remote FTP Server anonymously & receive a file from that server. Also describe 5 commands used in FTP session.


File Transfer Protocol, the protocol for exchanging files over the Internet. FTP is most commonly used to download a file from a server using the Internet or to upload a file to a server.

FTP Commands :

While there are a variety of FTP commands, the following are the most common (but check your own system for which commands are available).
  • ftp - starts the FTP session
Some of the commands in FTP:

bye
to exit the FTP environment (same as quit)
cd
to change directory on the remote machine
close
to terminate a connection with another computer
help
to request a list of all available FTP commands
ls
to list the names of the files in the current remote directory
mkdir
to make a new directory within the current remote directory
open
to open a connection with another computer
quit
to exit the FTP environment (same as bye)
rmdir
to  remove (delete) a directory in the current remote directory


 Output :


No comments:

Post a Comment