Exercises


  1. Extend the FTP client application that makes use of the FtpWebRequest and FtpWebResponse classes so that it not only downloads files from the FTP server but also allows uploading files to the server. Add one more button to the form with the Text property set to Upload File, use the OpenFileDialog to ask the user for a file to upload, and then send a request to the server. For uploading files the WebRequestMethods class offers the Ftp.UploadFile member.

  2. Modify the Picture server and client applications that use the TcpListener and TcpClient classes, so that it is possible to upload picture files from the client to the server.




Beginning Visual C# 2005
Beginning Visual C#supAND#174;/sup 2005
ISBN: B000N7ETVG
EAN: N/A
Year: 2005
Pages: 278

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