Packet Tracer - FTP Servers
Please click here to download topology 10.2.3.2 Packet Tracer - FTP Instructions
Topology
10.2.3.2 Packet Tracer - FTP Instructions |
Objectives
Part 1: Configure FTP Services on
Servers
Part 2: Upload a File to the FTP Server
Part 3: Download a File from the FTP
Server
Background
In this activity, you will configure FTP
services. You will then use the FTP services to transfer files between clients
and the server.
Note:
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.
Part 1: Configure FTP Services on Servers
Step 1: Configure the FTP service on CentralServer.
a.
Click CentralServer > Config
tab > FTP.
b.
Click On to enable FTP service.
c.
In User Setup, create the following user accounts. Click the + button to add the account:
Username
|
Password
|
Permissions
|
anonymous
|
anonymous
|
limited to Read and List
|
administrator
|
cisco
|
full permission
|
d.
Click the default cisco user account and click the - button to delete it. Close the CentralServer
configuration window.
Step 2:
Configure the FTP service on
BranchServer.
Repeat Step 1 on BranchServer.
Part 2: Upload a File to the FTP Server
Step 1:
Transfer the README.txt file from
the home laptop to CentralServer.
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:
1)
Type ftp
centralserver.pt.pka . Wait several seconds while
the client connects.
Note: Since Packet Tracer is a simulation, it can take up to 30 seconds
for FTP to connect the first time.
2)
The server prompts for a
username and password. Use the credentials for the administrator account.
3)
The prompt changes to ftp>. List
the contents of the directory by typing dir. The file directory on CentralServer 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 CentralServer.
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
the home laptop to BranchServer.
a.
Repeat Step 1c to transfer the
README.txt file to branchserver.pt.pka.
b.
Close the Command Prompt and Home
Laptop windows, respectively.
Part 3: Download a File from the FTP Server
Step 1:
Transfer README.txt from CentralServer
to PC2.
a.
Click PC2 and click the Desktop tab
> Command Prompt.
1)
Type ftp centralserver.pt.pka.
2)
The server prompts for a
username and password. Use the credentials for the anonymous account.
3)
The prompt changes to ftp>. List the contents of the directory by typing dir. The
README.txt file is listed at the top of the directory list.
4)
Download the README.txt file: at
the ftp> prompt, type get
README.txt. The README.txt file is transferred to PC2.
5)
Verify that the anonymous account does not have the
permission to write files to CentralServer
by typing put
sampleFile.txt. The following error message
displays:
Writing file
sampleFile.txt to centralserver.pt.pka:
File transfer in
progress...
%Error
ftp://centralserver.pt.pka/sampleFile.txt (No such file or directory Or
Permission denied)
550-Requested
action not taken. permission denied).
6)
Close the FTP client by typing quit. The
prompt returns to the PC> prompt.
7)
Verify the transfer of the file
to PC2 by typing dir. README.txt is listed in the directory.
8)
Close the command line window.
b.
In the Desktop tab, open the Text
Editor and then the README.txt
file to verify the integrity of the file.
c.
Close the Text Editor and then the PC2 configuration window.
Step 2:
Transfer the README.txt file
from BranchServer to the Smart Phone.
Repeat Step 1 for Smart Phone, except download the README.txt file from branchserver.pt.pka.
No comments:
Post a Comment