Windows Explorer and My Computer
12.25 Activity: Using FTP
Note: It is assumed you are logged on.
1 Open a Command Prompt window. Key in the following:
C:WINDOWS>ftp ftp.microsoft.com e
C:\WINDOWS>ftp ftp.microsoft.com Connected to FTP.MICROSOFT.COM.
220 Microsoft FTP Service
User (FTP.MICROSOFT.COM:(none)):
You have just contacted the FTP server at Microsoft. It is asking for a user name. This server allows anonymous logins.
2 Key in the following: anonymous e
C:\WINDOWS>FTP FTP.MICROSOFT.COM Connected to FTP.MICROSOFT.COM.
220 Microsoft FTP Service
User (FTP.MICROSOFT.COM:(none)): anonymous
331 Anonymous access allowed, send identity (e-mail name) as pass-word.
Password:
It asks for your password and tells you that your email name can be used. When you key in your email address, you will not see it on the screen. You may key in anything for the password; you do not really need to key in your email address.
12.25 ACTIVITY: USING FTP
3 Key in the following: aaaa e (Note: The cursor will appear frozen when you key this in, but when you press e you will continue on.)
C:\WINDOWS>FTP FTP.MICROSOFT.COM Connected to FTP.MICROSOFT.COM.
220 Microsoft FTP Service
User (FTP.MICROSOFT.COM:(none)): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230-This is FTP.Microsoft.Com 230 Anonymous user logged in.
ftp>
You are logged into the site.
4 Key in the following: ftp>help e
ftp> help
Commands may be abbreviated. Commands are:
! delete literal prompt send
These are the FTP commands. For syntax on any command, you would key in help plus the command name.
5 Key in the following: ftp>help bye e
ftp> help bye
bye Terminate ftp session and exit ftp>
The command BYE is how you can terminate the FTP session. You can use commands you are familiar with already, like DIR, to see what is in the directory.
6 Key in the following: ftp>dir e
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
dr-xr-xr-x 1 owner group 0 Feb 13 2001 bussys dr-xr-xr-x 1 owner group 0 May 21 2001 deskapps dr-xr-xr-x 1 owner group 0 Apr 20 2001 developr
707
ftp: 745 bytes received in 0.01Seconds 74.50Kbytes/sec.
ftp>
You see a list of directories. Your listing may be different. You can recognize directories by locating a dr on the far left. Softlib is a directory that contains Microsoft software files. Files that have the extension .txt are ASCII files. Files that have a .ZIP extension are compressed. You need a utility like PKZIP to unpack the file. If you key in the command get filename, it will transfer the file to your default directory. If you key in get filename -, the file name followed by a hyphen acts just like the TYPE command. These commands are Unix commands. As you can see, DOS commands borrow much from Unix commands. If you wanted to transfer a binary file (.EXE), you would key in:
binary get file.exe ascii
You key in ascii to return to text-file mode.
7 Key in the following: ftp>cd deskapps e 8 Key in the following: ftp>dir e
ftp> cd deskapps
250 CWD command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
dr-xr-xr-x 1 owner group 0 Feb 25 2000 ACCESS
ftp: 1282 bytes received in 0.01Seconds 128.20Kbytes/sec.
ftp>
12.25 ACTIVITY: USING FTP
You changed directories to deskapps and are now seeing the contents of that directory.
9 Key in the following: ftp>get readme.txt e
ftp> get readme.txt
200 PORT command successful.
150 Opening ASCII mode data connection for readme.txt(1791 bytes).
226 Transfer complete.
ftp: 1791 bytes received in 2.91Seconds 0.61Kbytes/sec.
ftp>
You have downloaded the readme.txt file to the default directory.
10 Key in the following: ftp>bye e
ftp> bye
221 Thank-You For Using Microsoft Products!
C:\WINDOWS>_
You have logged off from the FTP site at Microsoft as well as quit the FTP program.
11 Key in the following: C:\WINDOWS>TYPE README.TXT ¦ MORE e
Welcome to the Microsoft FTP Server. This machine offers the
following materials and information for systems and network products:
- Selected knowledge-base articles - Selected product fixes
- Updated drivers - Utilities - Documentation
The deskapps directory is maintained by Microsoft Product Support. Products represented here are Access, Word (for MS-DOS and Windows), Excel, Flight Simulator, Creative Writer, Fine Artist, Office, PowerPoint, Project, Publisher, Works and Money.
Each has its own directory, with appropriate sub-directories below. See the readme.txt in each directory for more information.
Please report any problems with this area to "[email protected]". Sorry, individual replies to this alias may not be possible, but all mail will be read. Please, this is not a product support alias!
ftp> quote site dirstyle
======================================================================
THE INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER
EXPRESSED OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
709 MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY
DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF More
--You are seeing the file you downloaded from Microsoft’s ftp site.
12 Press Q.
13 Key in the following: C:\WINDOWS>DEL README.TXT e 14 Close the Command Prompt window.
12.26 Telnet
Telnet is a connection to a remote computer which makes your computer act like a terminal on the remote machine. This connection type is used for real time exchange of text. Telnet makes your computer into a dumb terminal. It is called a dumb terminal because each time your press a key on your computer, your computer does nothing except transmit your keystroke to some other computer on the Internet. The software performing the commands actually runs at the remote computer and not on your computer. Telnet operates in a client/server environment in which one host (the computer you are using running Client Telnet) negotiates opening a session on another computer (the remote host, running Server Telnet). During the behind-the-scenes negotiation process, the two computers agree on the parameters governing the session. Technically, Telnet is the protocol and is the terminal handler portion of the TCP/IP protocol suite. It tells the remote computer how to transfer commands from the local computer, on which you are working, to another computer in a remote location. Thus, Telnet lets you become a user on a remote computer. Both computers must support the telnet protocol. The incoming user must have permission to use the remote computer by providing a user name and password. Telnet can be used by a system administrator or other professionals to log on to your computer and trouble-shoot problems on your computer. However, Telnet is also most commonly used for connecting to libraries and other informational public databases. You can use a Telnet client to access hundreds of library and government databases. You begin the session in a Command Prompt window.