AY KUMAR GARG ENGINEERING COLLEGE, GHAZIABAD
Session: 2024-2025
Name- Dev Joshi Roll N0. -2200271530040 Year – 3rd
Subject- Computer Network Lab Semester-6 Batch- C
Experiment: -7
Objective: - Practically implementation of FTP
What Is FTP?
FTP (File Transfer Protocol) is a standard network protocol used to transfer
files between computers over a TCP/IP-based network (like the Internet or a
LAN).
Key Uses of FTP
Use Case Description
Website
Upload/download website files to/from a web server.
Management
Backup & restore Store system backups on a remote FTP server.
Share large files between organizations or team
Large File Sharing
members.
Companies use FTP to host software updates and
Software Distribution
patches.
Remote File Access Access files from anywhere using FTP client tools.
How FTP Works
1. Client connects to an FTP Server (like FileZilla Server).
2. The user authenticates with a username/password (or anonymously).
3. Client sends commands to:
o Upload (PUT)
o Download (GET)
o List files (LIST)
4. FTP uses:
o Port 21 for control (commands)
o Port 20 for data (in Active Mode)
Implementing FTP (Example)
On a LAN or Simulation (e.g., Cisco Packet Tracer)
1. Set up an FTP Server
o Use a router or PC as an FTP server.
o Assign IP (e.g., 110.0.0.1)
o Enable FTP service and create user credentials.
AY KUMAR GARG ENGINEERING COLLEGE, GHAZIABAD
Session: 2024-2025
Name- Dev Joshi Roll N0. -2200271530040 Year – 3rd
Subject- Computer Network Lab Semester-6 Batch- C
2. Set up a client
o Use another PC.
o Assign it to the same subnet.
o Use FTP software or command line:
ftp 192.168.1.10
username: net1
password: ****
3. Transfer files
o Use put to upload a file:
put myfile.txt
o List Files on the FTP Server
Dir
o Use gets to download:
get myfile.txt
o Delete a File on the Server
Delete myfile.txt
AY KUMAR GARG ENGINEERING COLLEGE, GHAZIABAD
Session: 2024-2025
Name- Dev Joshi Roll N0. -2200271530040 Year – 3rd
Subject- Computer Network Lab Semester-6 Batch- C
IMPLEMENTATION OF FTP