Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
4.9 The capabilities of TFTP and FTP

Lab10.2.3.4ccna16 min

10.2.3.4 Lab - Exploring FTP

Objectives

  • Part 1: Use FTP from a Command Prompt

  • Part 2: Use FTP in a Browser

  • Part 3: Download an FTP File Using WS_FTP LE (Optional)

Background / Scenario

The File Transfer Protocol (FTP) is part of the TCP/IP suite. FTP is used to transfer files from one network device to another network device. Windows includes an FTP client application that you can execute from the command prompt. There are also free graphical user interface (GUI) versions of FTP that you can download. The GUI versions are easier to use than typing from a command prompt. FTP is frequently used for the transfer of files that may be too large to send using email.

When using FTP, one computer is normally the server and the other computer is the client. When accessing the server from the client, you need to provide a username and password. Some FTP servers have a user named anonymous. You can access these types of sites by simply typing “anonymous” for the user, without a password. Usually, the site administrator has files that can be copied but does not allow files to be posted with the anonymous user. Furthermore, FTP is not a secure protocol because the data is not encrypted during transmission.

In this lab, you will learn how to use anonymous FTP from the Windows command-line C:> prompt. You will access an anonymous FTP server using your browser. Finally, you will use the GUI-based FTP program, WS_FTP LE.

Required Resources

1 PC (Windows 7 or 8 with access to the command prompt, Internet access, and WS_FTP LE installed (optional))

Part 1: Use FTP from a Command Prompt

a. Click the Windows Start button, type cmd in the search field, and press Enter to open a command window.

b. At the C:> prompt type ftp ftp.cdc.gov. At the prompt that says User (ftp.cdc.gov:(none)): type anonymous. For the password, do not type anything. Press Enter to be logged in as an anonymous user.

A Windows command prompt, banner "Microsoft Windows [Version 6.1.7600]" and "Copyright (c) 2009 Microsoft Corporation. All rights reserved.", making an FTP connection. At the prompt C:\Users\User1 the command "ftp ftp.cdc.gov" is typed. The server answers "Connected to ftp.cdc.gov." and "220 Microsoft FTP Service". At the prompt "User (ftp.cdc.gov:(none)):" the name anonymous is given; the server replies "331 Anonymous access allowed, send identity (e-mail name) as password." The Password prompt is answered with nothing shown, and the server replies "230 Anonymous user logged in." The session then shows the ftp> prompt.

Notice that the C:> prompt has been replaced with the ftp> prompt. Type ls to list the files and directories. At the time that this lab was authored, there was a Readme file.

The ls command run at the ftp> prompt. The server replies "200 PORT command successful." and "150 Opening ASCII mode data connection for file list.", then lists three entries: aspnet_client, pub and Readme. The figure ends after Readme, so any further entries and the closing reply were below the edge.

c. At the prompt, type get Readme. This downloads the file to your local computer from the anonymous FTP server the Center for Disease Control has setup. The file will be copied into the directory shown in the C:> prompt (C:\Users\User1 in this case).

A Windows command prompt sitting at the ftp> prompt, downloading a file. The student types get Readme. The server answers 200 PORT command successful, then 150 Opening ASCII mode data connection for Readme(1428 bytes), then 226 Transfer complete. The client's own summary line reads: ftp: 1428 bytes received in 0.00Seconds 1428000.00Kbytes/sec. The prompt returns to ftp>.

d. Type quit to leave FTP and return to the C:> prompt. Type more Readme to see the contents of the document.

A Windows command prompt. The student types quit at the ftp> prompt and the server answers 221 Goodbye. Back at C:\Users\User1 the student types more Readme, and the downloaded file is printed. It begins: Welcome to the Centers for Disease Control and Prevention and Agency for Toxic Substances and Disease Registry FTP server. Information maintained on this server is in the public domain and is available at anytime for your use. CDC/ATSDR requests that you provide a valid e-mail address when responding to the FTP server's password prompt. A heading FTP POLICY follows, then: CDC/ATSDR's file structure is designed to make information easily accessible for faster response. All FTP directories and sub-directories should contain the following files, and the first entry of that list is README.TXT, which contains general information and Disclaimer text, in ASCII. The screenshot ends there, mid list.

e. What is a drawback of using the FTP from the command line? ______

Part 2: Use FTP in a Browser

It is possible to use a browser as an anonymous FTP client.

a. In a browser, type ftp://ftp.cdc.gov/.

Internet Explorer open at ftp://ftp.cdc.gov/, showing the page headed FTP root at ftp.cdc.gov. Under the heading is the hint: To view this FTP site in Windows Explorer: press Alt, click View, and then click Open FTP Site in Windows Explorer. Below that is the directory listing, each line a date, a time, a size or the word Directory, and a linked name. The ten entries are: 05/08/1995 11:00PM, 128, .change.dir; 05/08/1995 11:00PM, 107, .message; 02/15/2012 09:40PM, Directory, aspnet_client; 11/16/2012 10:01AM, Directory, pub; 05/13/1999 11:54AM, 1,428, Readme; 05/13/1999 11:54AM, 383, Siteinfo; 05/17/2005 06:52AM, 0, up.htm; 05/19/2010 11:47PM, Directory, w3c; 05/20/2010 06:25AM, 218, web.config; 09/22/1998 07:25AM, 202, welcome.msg. Readme is the file the lab downloads, and its size of 1,428 bytes matches the 1428 bytes the command line FTP session reported.

b. Click the Readme file.

A Chrome tab open at ftp://ftp.cdc.gov/Readme, titled ftp://ftp.cdc.gov/Read..., showing the Readme file as plain text in the browser window. The text reads: Welcome to the Centers for Disease Control and Prevention and Agency for Toxic Substances and Disease Registry FTP server. Information maintained on this server is in the public domain and is available at anytime for your use. CDC/ATSDR requests that you provide a valid e-mail address when responding to the FTP server's password prompt. This is the same opening paragraph the command line session printed, which is the point of the figure: the browser fetched the same file over the same protocol.

c. Close browser to disconnect the FTP connection.

Part 3: Download an FTP File Using WS_FTP LE (Optional)

In Part 3, you will download a file using WS_FTP LE (a free FTP transfer tool).

a. Start WS_FTP LE. If the Ipswitch WS_FTP LE window displays, click Next to continue and skip to step c. Otherwise, click the Open a Remote Connection link.

The Ipswitch WS_FTP LE window before a connection has been made. The toolbar across the top offers Connect, Disconnect (greyed out), Options, Views and Local Search. The bar below it holds an Address of ftp://ftp.cdc.gov/, a UserID of anonymous and an empty Password, with a Connect to URL button at its right. The left tab, My Computer, is browsing the local disk at c:\ and its first row is $Recycle.Bin, type File f..., modified 1/7/2011 9:45 AM. The right pane is headed Blank Connection Pane and reads: You can fill this pane with a remote connection (to an FTP server) by clicking the link below, followed by the link Open a Remote connection.

b. Click Create Site….

c. In the Site Name field, type Center for Disease Control and click Next to continue.

The first page of the WS_FTP Connection Wizard, headed Site Name. It explains that the Site Name is a label that helps you identify this site in the future, gives My Auction Site and My Personal Web Site as examples, and says this name will appear when you click Connect at the top left. The Site Name box at the foot has been filled in with: Center for Disease Control. The buttons are Back (greyed out), Next and Cancel.

d. Click the Connection Type drop-down list, select FTP (the default connection type), and click Next.

The Connection Type page of the WS_FTP Connection Wizard. It says WS_FTP allows you to connect to different types of servers, and carries a NOTE: if the information provided by your ISP or server administrator does not mention the server type, select FTP. A link reads More About Connection Types... The Connection Type dropdown at the foot is set to FTP. The buttons are Back, Next and Cancel.

e. In the Server Address field, type ftp.cdc.gov, and click Next.

The Server Address page of the WS_FTP Connection Wizard. It explains that every FTP server has a unique address known as the Server Address or Host Address, gives mywebpages.comcast.net and ftp.hometown.aol.com as examples, and tells the student to enter the server address provided by your Internet Service Provider (ISP) or your FTP server administrator. The Server Address box at the foot has been filled in with ftp.cdc.gov. The buttons are Back, Next and Cancel.

f. In the User Name field, type anonymous, and leave the password field blank. Click Next.

The User Name and Password page of the WS_FTP Connection Wizard. It says FTP servers require a user name and password, tells the student to enter the user name and password provided by your Internet Service Provider (ISP) or the FTP server administrator, and carries a NOTE: entering a password below is not required, and if you choose to enter a password, WS_FTP will safely save that password for future connections to this site. The User Name box has been filled in with anonymous and the Password box has been left empty, which is how an anonymous FTP login is made. The buttons are Back, Next and Cancel.

g. Click Finish.

The last page of the WS_FTP LE Connection Wizard, headed Finish. It reads "If the following information is correct, click Finish to create the site." and "If you do not want to connect to this FTP server, clear the Connect to this site option." The summary lists Connection name: Center for Disease Control, Server address: ftp.cdc.gov, User name: anonymous, and Password: Not Entered. A reminder says the site can be opened from now on using the Connect button on the main application toolbar. The "Connect to this site" checkbox at the bottom is ticked.

h. When the Login Information Missing dialog box displays, click OK. Do not type a password in the Password field.

The WS_FTP LE Login dialog, headed in red "Login Information Missing". The text reads "WS_FTP needs login information in order to start the connection process. Enter the missing login information below." and "Enable the Save login information option to update and save your site login information." The User Name box holds anonymous, the Password box is empty, and the "Save login information" checkbox is ticked. OK and Cancel buttons sit at the bottom.

i. You are now anonymously connected to the Center for Disease Control FTP site.

The Ipswitch WS_FTP LE window after connecting, with two panes side by side: My Computer on the left showing c:, and Center for Disease Control on the right showing the server root, /. The Address bar reads ftp://ftp.cdc.gov/ with UserID anonymous and a filled Password box. The remote listing shows three folders, aspnet_client modified 2/15/2012, pub modified 2/26/2013 and w3c modified 5/19/2010, then the files .change.dir at 128 bytes, .message at 107 bytes, Readme at 1 KB, Siteinfo at 383 bytes and up.htm at 0 bytes, dated 5/8/1995, 5/8/1995, 5/13/1999, 5/13/1999 and 5/17/2005. The Type and Modified columns are too narrow in the application itself, so the file types read only as far as "DIR", "MES", "Binar" and "Firef" and the times are cut off part way.

j. On the WS_FTP LE toolbar menu under My Computer, click New Folder to create a folder on your local C:\ drive.

k. In the Make Directory dialog box name the folder as CDC and click OK. Note: If the folder already exists, you can use the same folder or create another folder with a different name. If using the same CDC folder, you can replace the existing Readme file with the downloaded Readme file.

The WS_FTP LE "Make directory" dialog, headed Create Directory in blue, with the instruction "Enter a name for the new directory." The text box at the bottom holds the typed name CDC, above OK, Cancel and Help buttons.

l. After the directory is created, in the My Computer tab page, double-click the directory to open it.

The WS_FTP LE window again, with the Address bar reading ftp://ftp.cdc.gov/ and UserID anonymous. The left pane, My Computer at c:, now contains the newly made CDC folder, modified 2/26/2013 3:00, sitting between Apps and Config.Msi. The other entries visible are $Recycle.Bin modified 1/7/2011 9:45 AM, a folder whose name is cut off as 0cf87a39bbe07, two folders both cut off as Apache-Subver, modified 12/6/2011 and 6/4/2012 2:06 PM, Apps modified 12/14/2010, Config.Msi modified 2/25/2013 and cygwin modified 2/18/2011. Every one has Type "File f...", which is File folder truncated by the narrow column. The right pane still shows the CDC server root with aspnet_client, pub, w3c, .change.dir, .message, Readme, Siteinfo and up.htm.

m. Drag the Readme file from the right side of the application (the remote CDC FTP server) into the CDC folder on to the local C:\ drive.

The WS_FTP LE window after the file has been transferred. The left pane is now at c:\CDC and holds a single file, Readme, 1 KB, modified 2/26/2013 3:01, with attribute A; its status bar reads "1 object(s) - 1 KB". The right pane, Center for Disease Control at /, lists aspnet_client, pub and w3c as folders dated 2/15/2012, 2/26/2013 and 5/19/2010, then .change.dir at 128 bytes, .message at 107 bytes, Readme at 1 KB, Siteinfo at 383 bytes and up.htm at 0 bytes, with Readme selected. Its status bar reads "Connected to ftp.cdc.gov 1 object(s) selected - 1 KB". The Address bar reads ftp://ftp.cdc.gov/ with UserID anonymous. The Type and Modified columns are truncated by the application itself.

n. Double-click the Readme file in the C:\CDC folder on your local C:\ drive. If prompted for an application to open the document, choose any word processing software. You should see a message that looks something like this:

The text of the Readme file downloaded from the CDC FTP server, shown in a monospaced font: "Welcome to the Centers for Disease Control and Prevention and Agency for Toxic Substances and Disease Registry FTP server. Information maintained on this server is in the public domain and is available at anytime for your use."

o. Which was easier, using FTP from the cmd prompt, or using WS_FTP LE? ______

p. Verify that the Center for Disease Control window is highlighted. Click Disconnect to disconnect from the ftp.cdc.gov site when finished.

q. The remote site will be removed from the saved list of FTP sites. In the Ipswitch WS_FTP LE window, click the Open a Remote Connection link. Select the Center for Disease Control site, and click Delete to remove the FTP site. Click Yes to confirm the deletion. Click Close to exit the Site Manager.

r. Remove the C:\CDC folder.

s. Close Ipswitch WS_FTP_LE.

Reflection

List the advantages for using FTP from the command prompt, the browser, and an FTP client, such as WS_FTP LE? ______

Your answers

Nothing here is marked. Most of these answers are read off your own machine, so there is no right value to compare them against; they are kept so your work survives.

Check your answersEvery question in this lab, answered. Take your own capture first.→

Source: itexamanswers.net