0% found this document useful (0 votes)
25 views

File Transfer Protocol (FTP) : Mcgraw-Hill ©the Mcgraw-Hill Companies, Inc., 2000

file transfer protocol

Uploaded by

Ishant Aryan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

File Transfer Protocol (FTP) : Mcgraw-Hill ©the Mcgraw-Hill Companies, Inc., 2000

file transfer protocol

Uploaded by

Ishant Aryan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 13

File Transfer

Protocol
(FTP)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
FTP

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


Connections: The control connection

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


The Data Connection
• Uses Server’s well-known port 20
1. Client issues a passive open on an ephemeral
port, say x.
2. Client uses PORT command to tell the server
about the port number x.
3. Server issues an active open from port 20 to
port x.
4. Server creates a child server/ephemeral port
number to serve the client

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


Creating
the data
connection

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


Communication
Using the control connection

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


NVT

FTP FTP

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


Using the data connection

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


File Type

• ASCII or EBCDIC (Extended Binary


Coded Decimal Interchange Code)
• Image

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


Data Structure

• File Structure
• Record Structure
• Page Structure

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


Transmission Mode

• Stream mode
• Block mode
• Compressed mode

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


Command processing

• Access Commands
• File Management
• Data Formatting
• Port defining
• File transfer
• Miscellaneous

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000


File transfer

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

You might also like