CNS Dept.
of E&TC Engineering
EXPERIMENT NO: 2a DATE: / /
AIM:- Installation and configuration of FTP Server.
APPARATUS:- PCs, straight cables, switch
THEORY: -
File Transfer Protocol (FTP)
File Transfer Protocol (FTP) is the standard mechanism provided by TCP/IP for
copying a file from one host to another. Although transferring files from one system to
another system simple and straightforward, some problems must be dealt with first. For
example, two systems may use different file name conventions. Two systems may have
different ways to represent text and data. Two systems may have different directory
structures. All these problems have been solved by FTP in a very simple and elegant
approach.
FTP differs from other client/server applications in that it establishes two connections
between the hosts. One connection is used for data transfer, the other for control information
(commands and responses). Separation of commands and data transfer makes FTP more
efficient. The control connection uses very simple rules of communication. We need to
transfer only a line of command or a line of response at a time. The data connection, on the
other hand, needs more complex rules due to the variety of data types transferred. However,
the difference in complexity is at the FTP level, not TCP.
For TCP, both connections are treated the same. FTP uses two well-known TCP ports:
Port 21 is used for the control connection, and port 20 is used for the data connection. Figure
below shows the basic model of FTP. The client has three components: user interface, client
control process, and the client data transfer process. The server has two components: the
server control process and the server data transfer process. The control connection is made
between the control processes. The data connection is made between the data transfer
processes.
CNS Dept. of E&TC Engineering
Implementation of LAN :
1. Right click on My Network Places and click properties
2. Select ‘set up a home or small office network’ on the left corner
3. Click next
4. Click next0
5. Select other
6. Select ‘This computer belongs to a network that does not have an internet
connection’ and click next
7. Enter the computer description and computer name and click next
8. Enter the workgroup name and click next
9. Select Turn on file and printer sharing and click next
10. Click next
11. Wait for sometime
12. Select ‘Just finish the wizard. I don’t want to run the wizard on other computer’ and
click next
13. Click finish
14. Click yes when asked to restart your computer
15. After restarting, again go to My Network Places
16. Click on ‘view workgroup computers’ on the left corner
17. All the workgroups can be seen here
CNS Dept. of E&TC Engineering
18. Go to Network Connections and right click on Local Area Network. Click on Properties
19. Click on Advanced
CNS Dept. of E&TC Engineering
20. Click on Settings
21. Select FTP Server and click OK
CNS Dept. of E&TC Engineering
22. Go to Start menu and select Control Panel
23. Select Administrative Tools
CNS Dept. of E&TC Engineering
24. Select Internet Information Services
25. The Internet Information Services window is opened
CNS Dept. of E&TC Engineering
26. Right click on FTP sites and select New Virtual Directory
27. Click next
CNS Dept. of E&TC Engineering
28. Type the alias and click next
29. Click on Browse to enter the path
CNS Dept. of E&TC Engineering
30. Select Local Disk(C:) in My Computer and click OK
31. Select ftproot and click OK
CNS Dept. of E&TC Engineering
32. Click Next
33. Select both Read and Write and click Next
CNS Dept. of E&TC Engineering
34. Click on Finish
35. Now the alias yahoo has come on FTP sites
CNS Dept. of E&TC Engineering
36. Now right click on Default FTP Sites and select Start
37. Now the service is started
CNS Dept. of E&TC Engineering
38. Now share Local Disk(C:) and open it
39. Select Inetpub folder
CNS Dept. of E&TC Engineering
40. Select folder ftproot
41. Application2 form document is present here
CNS Dept. of E&TC Engineering
42. Now click on Internet Explorer icon
43. Type ‘ftp://192.168.9.135/’ to view the contents of the PC having that IP address
CNS Dept. of E&TC Engineering
44. The same document application2 form is present here in Internet Explorer window
45. Now right click on Default FTP Sites and stop the service
CONCLUSION:- Thus we have installed Microsoft Internet Information Server (IIS5) and
configured FTP server.