Using FTP

In this exercise, you will use the FTP client application that is included when you install the TCP/IP protocol. A number of graphical FTP clients are available from third-party sources. FTP server support is installed with the Microsoft Personal Web Server for Windows 95. By default, the FTP service is set to start manually.

* To start the FTP service
  1. Double-click the Personal Web Server icon in the Windows 95 System Tray.
  2. Click the Services tab.
  3. If the FTP service is not running, click Start .
  4. Click OK to exit.
* To connect to an FTP server
  1. From the Windows Run command, type:
     ftp localhost 
  2. When presented with a logon prompt, type:
     anonymous 
  3. Enter your e-mail address. This is how anonymous user activity is logged.
  4. To receive a listing of commands, from the FTP prompt type:
     help 
  5. Type quit to close the window.

Transport Layer

The transport layer regulates the flow of data between networked machines running IP. In the TCP/IP suite, two different protocols are used in the transport layer. One is TCP, and the other is the User Datagram Protocol, or UDP. TCP is a connection-oriented protocol designed to tolerate an unreliable link between two machines. TCP takes a user message of any length, breaks it up into pieces smaller than 64K, and passes them on to the network layer for routing and delivery. To guarantee correct delivery, TCP uses acknowledgment messages, understands time-out delays, and uses checksums. Because TCP does all of this work, the application layer assumes that the data it sends to another machine arrives correctly. Most applications use TCP for this reason.

Network/Internetwork and Link/Network Access Layers

When creating solutions that are network-based, the network/internetwork and link/network layers are handled automatically by the operating system. Your application only needs to establish the application protocol it will be using and open a connection to the network using an interface, such as The Microsoft Win32 Internet (WinInet) API. Sending and receiving data then becomes the focus of your application. Windows and the network driver manage both the network/internetwork and link/network access layers for you.



Microsoft Windows Architecture Training
Microsoft Windows Architecture for Developers Training Kit
ISBN: B00007FY9D
EAN: N/A
Year: 1998
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net