Setting Up A FTP Server and A Client On Network and Transfer The Flies Between Two Networks
Setting Up A FTP Server and A Client On Network and Transfer The Flies Between Two Networks
Roll No. Name of Students Marks out of Marks out of 4 for Total
6 for performance in mark
performance Oral/Presentation s out
in Group of 10
Activity
01 Ayush.v.more
Name and
Mr. Sutar G.U
Signature ofFaculty
A
PROJECT REPORT
ON
SUBMITTED BY
Prof. Mr.Sutar.G.U
(2024-2025)
SHIVAJI POLYTECHNIC, ATPADI
CERTIFICATE
This is to certify that,
Of Class TY (Computer Engineering) as per the curriculum laid down by the Maharashtra State
Board of Technical Education, Mumbai have successfully completed entitled
“SETTING UP A FTP SERVER AND A CLIENT ONNETWORK AND
TRANSFER THE FILES BETWEEN TWO NETWORKS”
Under our guidance in satisfactory manner as a part of academic syllabus during the academic
year 2024-2025.
Date:
Place: Atpadi
NO. NO.
2212090007 Ayush vijay more
INDEX
SR.NO. CONTENTS
1. Abstract
2. Introduction
3. Components of operating system
4. Advantages
5. Disadvantages
6. Function
7 Conclusion
8. Reference
ABSTRACT
The File Transfer Protocol FTP is a standard network protocol used for the transfer of
computer files between a client and server on a computer network. FTP is built on a client
server model architecture using separate control and data connections between the client and
the server. FTP users may authenticate themselves with a clear-text sign-in protocol,
normally in the form of a username and password, but can connect anonymously if the server
is configured to allow it. For secure transmission that protects the username and password,
and encrypts the content FTP is often secured with SSL TLS FTPS or replaced with SSH File
Transfer Protocol SFTP
The first FTP client applications were command-line programs developed before operating
systems had graphical user interfaces, and are still shipped with most Windows, UNIX, and
Linux operating systems. Many FTPclients and automation utilities have since been
developed for desktops, servers, mobile devices, and hardware, and FTP has been incorporated
into productivity applications, such as HTML editors.
In this activity, you will configure FTP services. You will then use the FTP services to
transfer files between clients and the server Packet Tracer only simulates the process for
configuring these services. FTP server and client software packages each have their
own unique installation and configuration instructions. The first time you attempt to connect
to a web address, Packet Tracer takes several seconds to simulate the DNS name resolution
process.
INTRODUCTION
In current times if you want to transfer a file to a friend, you can just attach it in an email and
send it off. With high speed bandwidth being so cheap and plentiful to the home user,
transferring a file in this manner is usually more than adequate. What if you needed to
transfer the file to some
One immediately; there could be no delays, it has to be fast, and the files you are transferring
may be very large. In a scenario like this, email will most likely not be adequate. This is
because most email providers limit the size of your mailbox on their servers, the size of
attachments you may receive, and that there is no guarantee when you send email how long it
will take for the recipient to receive it or if it will even get there. This is where FTP comes in.
FTP is a software which allows every user to in first all and transfer files or folders from one
system to the other. It also works in a similar way as HTTP for transferring Web pages from
a server to a user browser. File Transfer protocol is mostly used for downloading a file from
a server and then is uploaded as a Web page file .The governing body that owns the term
FTP, a parches defines it as any sending or receiving directories which are located into the
following path http docs publications, it is based on transferring files from one place to
another The way File Transfer Protocol works is by installing the software first on both
machines and then simply taking files one by one and shift them. The software for
FTP can be bought or downloaded from the web browser, however the requirements are a bit
different. As soon as one file is received the system confirms it by sending a confirmation
message to the system next to it.
FTP SERVER
What is FTP
FTP stands for "file transfer protocol. FTP powers one of the fundamental Internet functions
and is the prescribed method for the transfer of files between computers.
It is also the easiest and most secure way to exchange files over the Internet an FTP address
looks a lot like an HTTP or web site address except it uses the prefix instead of. FTP stands
for the File transfer protocol and is used to transfer files between an FTP server and another
computer.
In the past, FTP was much more common than it is today and was the dominant file transfer
mechanism on the Internet. If you needed to transfer files between two computers, you would
use FTP to do so. FTP is still very popular today when a service requires that a lot of files be
hosted for other to people to download.
FTP also tends to be faster than other contemporary methods of transferring files because it
was designed to do so. Even more important, FTP support Automatic Resume. This means
that if you are downloading the latest new game demo that is over 600 Megs, and for some
reason the download stops in the middle of the transfer, the ftp client will attempt to on the
next download of the same file, to continue from where you left off.
This feature can save you a huge amount of time but is generally only found in specialized
FTP client software and not in your browser software.
What is a Protocol Anyway
The dictionary defines the word protocol as A set of conventions governing the treatment and
especially the formatting of data in an electronic communications system Therefore FTP is
essentially a set of conventions that can be used by an "electronic communications system" to
transfer files These conventions are defined in a document known as RFC 959. This
document contains the details of how FTP should be implemented in software.
If you want to write some software that implements FTP then RFC 959 would be a good
place to start.
• Most web hosting services provide FTP access to their customers to allow them to
upload the contents of their web sites
• https://www.scribd.com/document/431130386/acn-microprojectCompanies often
have FTP servers that allow users to send and receive files
• Most universities have FTP servers that allow their students to download course
materials and upload assignments for submission.
• Use FTP to transfer files among users, especially if the files are too large to attach to
an email.
• Use FTP to browse through a collection of downloadable files on a public software
archive.
What is an FTP Protocol
In many cases, the FTP server you want to connect to is already out there somewhere, waiting
for you to establish a connection to it if however, you want to set up your own FTP server so
other users can connect to your server and transfer files.
You have a few options many operating systems come with an FTP server, but it is often
disabled for security reasons. Windows XP Pro includes an FTP server as part of Internet
Information Server, but it is disabled by default.
Most UNIX and Linux systems include FTP daemons as part of their distributions. Check
with the vendor of your operating system to determine if you already have FTP server
software.
There are also a variety of third party FTP servers available.
Communication data and transfer
FTP may run in active or passive mode, which determines how the data connection is
established in both cases, the client creates a TCP control connection from a random, usually
an unprivileged, port N to the FTP server command port
21. In active mode, the client starts listening for incoming data connections from the server on
port M. It sends the FTP command PORT M to inform the server on which port it is listening.
The server then initiates a data channel to the client from its port 20, the FTP server data port
in situations where the client is behind a firewall and unable to accept incoming TCP
connections, passive mode may be used.
In this mode, the client uses the control connection to send a PASV command to the server
and then receives a server IP address and server port number from the server, which the client
then uses to open a data connection from an arbitrary client port to the server IP address and
server port number received.
Both modes were updated in September 1998 to support IPv6. Further changes were
introduced to the passive mode at that time, updating it to extended passive mode Both modes
were updated in September 1998 to support IPv6.
Further changes were introduced to the passive mode at that time updating it to extended
passive mode The server responds over the control connection with three-digit status codes in
ASCII with an optional text message.
For example 200 OK means that the last command was successful. The numbers represent
the code for the response and the optional text represents a human-readable explanation nor
request e.g. Need account for storing file An ongoing transfer of file data over the data
connection can be aborted using an interrupt message sent over the control connection While
transfer
File from the router to an FTP server
The FTP protocol requires a client to send a remote username and password on each FTP
request to a server. When you copy a configuration file from the router to a server using FTP,
the Cisco IOS software sends the first valid username it encounters in the following
sequence:
2. The username set by the Ip ftp username global configuration command, if the
command is configured A non any moue
3. The router sends the first valid password it encounters in the following sequence
5. The password set by the Ip ftp password command, if the command is configured.
The router forms a password username router name .domain. The variable username is the
username associated with the current session, router name is the configured host name, and
domain is the domain of the router
The username and password must be associated with an account on the FTP server. If you are
writing to the server
The FTP server must be properly configured to accept the FTP write request from the user on
the router If the server has a directory structure, the configuration file or image is written to
or copied from the directory associated with the username on the server
. For example, if the system image resides in the home directory of a user on the server,
specify that user name as the remote username. Refer to the documentation for your
FTP server for more information Use the Ip ftp username and Ip ftp password global
configuration commands to specify
A username and password for all copies. Include the username in the copy EXEC command if
you want to specify a username for that copy operation only.
Objective for a file transfer protocol
Configuration steps
1. enable
2. configure terminal
3. Ip ftp user name user name
4. Ip ftp password pass word
5. end
Part 1:
Configure FTP Services on Servers
Step 1:
accounts Click the + button to add the account Username Password Permissions anonymous
anon any limited to Read and List administrator cisco full per miss and. Click the default
cisco user account and click the - button to delete it. Close the Central Server configuration
window.
Step 2:
Configure the FTP service on Branch Server. Repeat Step 1 on Branch Server.
Part 2:
Step 1:
Transfer the README.txt file from the home laptop to Central Server As network
administrator, you must place a notice on the FTP servers. The document has been created on
the home laptop and must be uploaded to the FTP servers a. Click Home Laptop and click the
Desktop tab > Text Editor. b. Open the README.txt file and review it. Close the Text Editor
when done. Note: Do not change the file because this affects scoring c. In the Desktop tab,
open the Command Prompt window and perform the following steps Type ftp central
server.pt. Pk. Wait several seconds while the client connects
3) The prompt changes to ftp>. List the contents of the directory by typing dir. The file
directory on Central Server displays.
4) Transfer the README.txt file: at the ftp> prompt, type put README.txt. The
README.txt file is transferred from the home laptop to Central Server.
5) Verify the transfer of the file by typing dir. The README.txt file is now listed in the file
directory
.6) Close the FTP client by typing quit. The prompt will return to PC>.
Step 2:
Transfer the README.txt file from Branch Server to the Smart Phone .Repeat Step 1 for
Smart Phone, except download the README.txt file from branch server .pt.pk
Transfer the README.txt file from the home laptop to Branch Server .a. Repeat Step 1c to
transfer the README.txt file to branch server pt pk. b. Close the Command Prompt and
Home Laptop windows, respectively.
Part 3:
Step 1:
Transfer README.txt from Central Server to PC2.a. Click PC2 and click the Desktop tab
> Command Prompt.
Disadvantages
We have Set up a FTP server and client on network and transfer the files between two
networks successfully Now that you know what FTP is, you will probably notice it more If
often. you would like to ask some questions or discuss this tutorial, please do so in the
computer help forums.
Reference
1. https://www.scribd.com/document/431130386/acn-microproject
2. https://www.bigrock.in/blog/products/security/what-is-file-transfer-protocol-ftp
3. https://www.ibm.com/topics/file-transfer
4. https://www.geeksforgeeks.org/file-transfer-protocol-ftp/
5. https://hostadvice.com/how-to/web-hosting/how-to-use-ftp-to-transfer-files-between-servers-
and-local-machines/