Lab setup on FTP server Fall 2023
docx
keyboard_arrow_up
School
Oakland University *
*We aren’t endorsed by this school
Course
4130
Subject
Information Systems
Date
Dec 6, 2023
Type
docx
Pages
4
Uploaded by kegreve
Lab: Set up and FTP server
Chapter 3, Page 163-166
Due Date:
September 27, 2023
In this project, you return to the small network you created in chapter 1, project 1-1. You will
install and use FTP. Recall that FTP is a client-server application in which the first computer, the
client, requests data or a service from the second computer, the server.
Designate one computer as computer A, the server, and the other computer as computer B, the
client. Do the following using computer A:
Step 1.
Create a folder named Normal Users and create a file in the folder named Normal
Users.txt. Later, any files or folders you want on your FTP site can be stored in this folder.
Step 2.
Connect Computer A to the Internet so you can get the FileZilla software. Go to filezilla-
project.org and download the free FileZilla Server software to your desktop. As you do so, be
sure to not accept other free software the site offers.
Step 3.
Install FileZilla Server, accepting all default settings, which places a shortcut on your
desktop and sets the FTP service to start automatically.
Step 4.
After the installation is complete, the Enter server to administrate dialog box appears (see
Figure 3-34). Enter an administration password and be sure to record this password in a Secure
Note, using the Server type, in your LastPass account. Also note the Host is localhost, which
refers to your loopback interface.
Figure 3-34
Enter the admin password that will be used to log on and manage the FileZilla FTP server
Source: FileZilla
Step 5.
Because you are running, only one FTP server on computer A, check the Always connect
to this server check box. When you click Connect, the FileZilla Server window opens. You can
also open this window by using the shortcut on your desktop. You can now disconnect Computer
A from the Internet and reconnect it to your switch.
Step 6.
You are now ready to configure your FTP server. To set up a user group, click Edit,
Groups. In the right pane under Groups, click Add. In the Add user group dialog box, type
Normal Users and click OK.
Step 7.
In the left pane, under Page, click Shared folders.
Step 8.
Under Directories, click Add. Select the Normal Users folder and click OK. The folder is
listed in the middle pane.
Step 9.
Under Directories, select the Normal Users directory and then click Set as home dir.
Click OK.
Step 10.
Next, click Edit, Users, and create a new user named User1. Put the user in the Normal
Users group.
Step 11
. In the Account settings pane, check Password and assign the password password. Click
OK.
Step 12.
To verify the service is working, let’s use the FTP client commands embedded in
Windows on Computer A. As you work, watch the dialog recorded in the FileZilla Server
window (see Figure 3-35). Open a Command Prompt window and enter the commands listed in
Table 3-11.
Figure 3-35
Use the FileZilla Server window to monitor real-time activity on the FTP server
Source: FileZilla
Table 3-11
Commands for Capstone Project 3-1
Command
Explanation
ftp localhost
Connect to the FTP service
User1
Enter your user ID
password
Enter the password
dir
List the contents of the shared folder
quit
Close the FTP session
Step 13.
In the FileZilla Server window, click Edit, then click Settings. Under General settings,
note that the server is listening at port 21. Click Cancel, then close the FileZilla Server window.
Step 14.
The server software is still running as a background service, listening at port 21 for
clients to initiate a session. To see the service running, open the Windows Services console. To
do this, right-click Start, click Run, type services.msc, and press Enter. In the Services console,
verify that the FileZilla Server FTP server service is running and set to start automatically each
time the computer starts. Close the Services console.
Step 15.
To find out the IP address of computer A, in the Command Prompt window, enter
ipconfig. What is the IP address?
Using computer B, you’re now ready to test the FTP client. Do the following:
Step 16.
Open a Command Prompt window and ping computer A. The output should show
replies from computer A, indicating connectivity.
Step 17.
Now try the same commands as in step 12, using the IP address of computer A in the
first command line. Most likely, you will not be able to connect because the firewall on computer
A blocks incoming connections on port 21 by default. Be sure to end with the quit command.
On computer A, do the following to open port 21:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Step 18.
In the Network and Sharing Center, click Windows Firewall. In the Windows Firewall
window, click Advanced settings. In the left pane, click Inbound Rules and then click New Rule
in the right pane. Create a new rule that opens the TCP local port 21, and name the rule FTP
Server.
On computer B, you should now be able to open an FTP session with computer A. Do the
following:
Step 19.
Using the commands listed in step 12 and the IP address of computer A, open the
session and verify you can see the contents of the shared folder. If you see a Windows Security
Alert, allow access. You might have to restart the session to try again at this point. Once you see
the Normal Users.txt file in the directory listing, quit the session and close the Command Prompt
window.
Note:
If you want to again block FTP in Windows Firewall on Computer B, open the Network
and Sharing Center, click Windows Firewall, click Allow an app or feature through Windows
Firewall, click Change settings, and click to deselect File Transfer Program. Click OK.
If you want to disable the FTP Server firewall rule on Computer A, open the Network and
Sharing Center, click Windows Firewall, click Advanced settings, click Inbound Rules, click to
select FTP Server, and in the left pane click Disable Rule.
Close all open windows.