You are on page 1of 13

File transfer using FTP

- SANMATHI S

1BG20CS093
CSE B
What is FTP?
FTP stands for File transfer protocol.
FTP is a standard internet protocol provided by TCP/IP used for transmitting the files from one
host to another.
It is mainly used for transferring the web page files from their creator to the computer that acts as
a server for other computers on the internet.
It is also used for downloading the files to computer from other servers
Network Topology in CISCO
Components:
1. Server-PT (Server0)
2. Router - 1841 (Router0)
3. Switch - 2950-24 (Switch0)
4. PC-PT (PC0)
5. PC-PT (PC1)
IP CONFIGURATION OF ROUTER
IP CONFIGURATION OF PC0 AND PC1

PC0
Sender PC1
The FTP sender sends a file to the given
FTP server.
Receiver
After writing the file, the original Receives the file from
message is passed along to the next FTP Server
service/producer.
IP CONFIGURATION OF SERVER

SERVER0-FTP SERVER
How FTP Works
The FTP connection is established between two systems and they
communicate with each other using a network. So, for the connection, the
user can get permission by providing the credentials to the FTP server or
can use anonymous FTP.
When an FTP connection is established, there are two types of
communication channels are also established and they are known as
command channel and data channel. The command channel is used to
transfer the commands and responses from client to server and server to
client. FTP uses the same approach as TELNET or SMTP to communicate
across the control connection. It uses the NVT ASCII character set for
communication. It uses port number 21. Whereas the data channel is used to
actually transfer the data between client and server. It uses port number 20.
The FTP client using the URL gives the FTP command along with the FTP
server address. As soon as the server and the client get connected to the
network, the user logins using User ID and password. If the user is not
registered with the server, then also he/she can access the files by using the
anonymous login where the password is the client’s email address. The
server verifies the user login and allows the client to access the files. The
client transfers the desired files and exits the connection.
CREATE FILE FOR TRANSFER

File creation in PC0 (hello.txt)


Upload file to FTP Server from PC0

- Ping to check connection


- ftp 10.10.10.2 to authenticate user
- put method used to upload file to
server
- dir used to check if the file is
uploaded
Check for file from PC1

- get method used to check


for file
Thank you

You might also like