0% found this document useful (0 votes)
18 views5 pages

CN Exp 9

Uploaded by

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

CN Exp 9

Uploaded by

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

******************************************************************

EXPERIMENT NO. 9
Name :- Class : T.E. COMPUTER
SUB : COMPUTER NETWORKS Roll No :
Date of conductance : /0 /2023 Date of submission : /0 /2023
******************************************************************
Aim : Perform File Transfer and Access using FTP.
Theory:-
FTP :-
File transfer protocol (FTP) is an Internet tool provided by TCP/IP. The first feature
of FTP is developed by Abhay Bhushan in 1971. It helps to transfer files from one
computer to another by providing access to directories or folders on remote
computers and allows software, data, text file to be transferred between different
kinds of computers. The end-user in the connection is known as localhost and the
server which provides data is known as the remote host.
The goals of FTP are :
• It encourages the direct use of remote computers.
• It shields users from system variations (operating system, directory structures,
file structures, etc.)
• It promotes sharing of files and other types of data.
Why FTP ?
FTP is a standard communication protocol. There are various other protocols like
HTTP which are used to transfer files between computers, but they lack clarity and
focus as compared to FTP. Moreover, the systems involved in connection are
heterogeneous systems, i.e. they differ in operating systems, directory, structures,
character sets, etc the FTP shields the user from these differences and transfer data
efficiently and reliably. FTP can transfer ASCII, EBCDIC, or image files. The ASCII
is the default file share format, in this, each character is encoded by NVT ASCII. In
ASCII or EBCDIC the destination must be ready to accept files in this mode. The
image file format is the default format for transforming binary files.
FTP Clients :-
FTP works on a client-server model. The FTP client is a program that runs on the
user’s computer to enable the user to talk to and get files from remote computers. It
is a set of commands that establishes the connection between two hosts, helps to
transfer the files, and then closes the connection. Some of the commands are: get
filename(retrieve the file from server), mget filename(retrieve multiple files from the
server ), ls(lists files available in the current directory of the server). There are also
built-in FTP programs, which makes it easier to transfer files and it does not require
remembering the commands.

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. The
figure below shows the working of FTP.
Steps for FTP:-
Press Windows key + R and type control admintools.

Open turn windows features on or off and click on Internet Info Services and
expand Ftp .Enable Ftp extensibility and Ftp Services and then click OK.

After that windows features will search for required files and will apply changes.
Open Internet Information Services (IIS) Manager then click on arrow Open Sites
and Right Click on it. Then add Ftp Site and choose physical path.(Here D:\)and then
click on next. For binding and SSL Settings Select IP Address don’t change port no.
Select SSL as No SSL then click next.
Select Authentication as Basic , Authorization for all users and give permissions of
read/write. Click on Finish.

Open file explorer and type command of ftp with ip address as ftp://192.168.137.115
and hit enter.After entering username and password all files can be accessed.

Conclusion: Thus, we have successfully performed File Transfer and Access using
FTP.

You might also like