File Transfer Protocol
File Transfer Protocol
Shi Li
12/8/2008
File Transfer Protocol (FTP)
Defined as RFC959
Developed in 1971
Telnet Protocol
Availability
Available for almost all operating systems
Can be used in command prompt by using FTP
commands
Can be used in the web browser
FTP applications
Independency
Allow between client and server machine system files
Efficiency
Enable efficient data transfer
Security
It provide the a environment to transfer files indirectly and
implicitly between users
Accessing by user name and password makes it reliable and
safe to use FTP anywhere
Some FTP server allows people to use anonymous as a
default user name
FTP has to be on both server and client computers to work
Connection
Control connection (port 21)
Used to send and receive FTP commands
Data connection (port 20)
Used to upload and download files
Processes
Data Transfer Process
Establishing the connection and managing the data channel
Protocol Interpreter
Interprets the protocol
let DTP be controlled using commands received over the control
channel
Transferring mode between server and client
Active mode
Control connection port: Client: Large port (N>1023); Server:
21
Data connection port: Client: N+1; Server: 20
Passive mode
Control connection port: Client: Large port (N>1023); Server:
21
Data connection port: Client: N+1; Server: large port
(P>1023)
File Transferring mode
ASCII mode
.txt, .html, .asp, .vbs,.js
Binary
.doc, .pdf, .mp3/mp4
Desktop Environment
Use “ftp” command to implement FTP
FTP server
Used to keep files that are available users
Websites
Easy to update
Internet
Very efficient to get a specific file through the internet
Everywhere
Allows multiple File transfer
Failed file download tolerance
Resume the file when failed to download in the middle
of process
User can choose whether to use ASCII or Binary mode
as needed
Be able to get file from FTP server on any computer
that has access to internet by using his own username
and password
Easy to manage files by using FTP applications and to
set the read/write privilege
Cute FTP
FileZilla
Leech FTP
Windows FTP
FTP Explorer
Grant, Chris. FTP Reviewed, 1998-07-03.
http://pintday.org/whitepapers/ftp-review.shtml#ephemeral
Parikka, Thomas, J. FTP Transfer Modes: ASCII vs. Binary. Mar.
18, 2008
http://www.rhinosoft.com/newsletter/NewsL2008-03-18.asp
Postel, J, Reynolds, J. File Transfer Protocol. Oct. 1985.
http://tools.ietf.org/html/rfc959
Webdevelopersnotes.com Basics of File Transfer Protocol.
http://www.webdevelopersnotes.com/basics/ftp_file_trans
fer_protocol.php3
Wells, Terri. A Brief Introduction to FTP. Aug. 30, 2006.
http://webhosting.devshed.com/c/a/Web-Hosting-Articles/A-B
rief-Introduction-to-FTP/
Thank you!