Professional Documents
Culture Documents
FTP stands for File Transfer Protocol. It is a protocol used to transfer files between
an FTP host/server and an FTP client computer on the Internet. FTP is most commonly
used to download files from the World Wide Web. It is an alternative choice to HTTP
protocol for downloading and uploading files to FTP servers.
1
Introduction
The Internet is composed of file transfers. Every minute of every day, Internet users
download files from websites and webmasters upload files, generating content for their
websites. The most common method for transferring files is the File Transfer Protocol
FTP stands for File Transfer Protocol. A protocol is a system of rules that networked
computers use to communicate with one another. FTP is a client-server protocol that
may be used to transfer files between computers on the internet. The client asks for the
files and the server provides them.
You can work with FTP using a simple command-line interface, such as the DOS
console in Windows and Terminal in Linux and macOS. If you don’t want to use those,
though, there are graphical user interface solutions, such as Filezilla or winscp Pro.
Browsers also allow you to download files via FTP (check out our recommendations for
the most secure browsers
2
Figure(2) Filezile
You can exchange any kind of file, including music, videos and documents. If it’s a single
file, you might even get it faster than you would with HTTP, unless the server is far away.
If tuned properly, FTP may be better for large files.
You can also create directories, remove them and list files with FTP, but you may need
to authenticate with a username and password first. Anonymous FTP servers don’t
require keys and are usually used for open source software that is freely distributed.
3
Background
FTP falls into the standard client/server model. To use FTP, there needs to exist both
an FTP client program and an FTP server program. The FTP server will store or house
the files accessed during file transfer, and the FTP client will connect to the FTP server
and send files to, or retrieve files from, the server.
4
FTP Server Configuration
5
Creating an FTP site with basic authentication:
This section details how to create a new FTP site. following steps to create the FTP
site:
1- Click on the Start > Administrative Tools > Internet Information Services (IIS)
Manager.
2- In the Actions pane on the right side, click Add FTP .
3- On the Site Information page, enter a name for the FTP site, and browse and
select a path on the local system to use as the Content (or root) directory. In this
example, we will use the site name of “MSC-networks” and provide the root path
of “C:\networks”
6
Figure(6): Site Information page
4- On the Binding and SSL Settings page, enter or modify the details for your
particular needs. In our example, we kept the default values for IP Address and
Port, “All Unassigned” and “21” respectively. We did not select Enable Virtual Host
Names and selected No SSL.
7
Results and Discussion
I want to do some steps to showhow the FTP protocol work by using wireshark to
capture the sequence of operation between my computer and FTP server.
- The first step using windows command to arrive (ftp ftp://192.168.0.112) web
server for download text file named (FTP-networks.pdf) from the web server to
my computer.
- We can access file on FTP server by using browser agent to download or upload
the files and another objects
8
- The Second step using wireshark program to capture the packets
Note: wireshark must be start before using comments to arrive the ftp
(ftp://192.168.0.112) web server
- The third step after the text file downloaded from ftp (ftp://192.168.0.112) web
server you must stop the wireshark to be start analyses the packets sent and
received.
9
Analyses
1- We print in the filter of the wireshark (ftp) the ip address of the server is
192.168.0.112 and the client is 192.168.0.101
2- As show from packet(482) client send request with user name and at a packet
number (484) server sent response to send password and client send password
at packet (558) . see figure 10.
Figure(10):FTP authentication
10
3- At packet no.(836) client request from the server (LIST) observed that the three
steps for TCP return again to establish connection between client and server to
establish data connection see figure(11).
Figure(11):Data Conection
11
Conclusion
FTP is a very useful software application that can have large benefit to web site or to
collaborative computing in which files need to be shared between business partners.
12
References
- CCNA 200-125 routing and switching intoduction to ftp
- MCSA windows server 2012 complete study guide
- Wireshark application
13