Lin and Can

Submitted by: Submitted by

Views: 236

Words: 1248

Pages: 5

Category: Science and Technology

Date Submitted: 05/20/2011 08:19 AM

Report This Essay

COMSATS Institute Of Information Technology

Department of Electrical Engineering

M. A. Jinnah Campus, Lahore. CSC341 - Network Programming BTE-Batch-7 Spring 2010 – 7th Semester

Semester Projects Muhammad Farooq-i-Azam

Resource Person:

Submission Deadline: Tuesday May 11, 2010. Note: Please send the source code in a .zip file to i_80x86@yahoo.com by the deadline. There can be a maximum of four students in a project. A group can develop a project using an idea of their own after getting approval. Projects 1 and 2. File Transfer Protocol i.e. FTP is used to transfer files between two computers over the Internet. FTP client accepts commands from a user and then sends the command to the FTP server. The server takes appropriate action defined for that command. You can learn more about FTP by using ftp client at your computer to connect to an FTP server, say, ftp.microsoft.com. For example, go to your console window and type the following command: C> ftp ftp.microsoft.com For the username, you can enter anonymous and for the password, you can enter any email address. This will allow you to connect to the FTP server. You can then use help command to get help on different FTP commands. One group will develop FTP client and the other group should develop FTP server. Project 3. Develop an HTTP client application program that retrieves a web page from the Internet. For example: $ ./webclient http://www.yahoo.com/index.html

1

should fetch the index.html page from yahoo.com and display it on your standard output. You are not required to interpret html code and format the text. You may simply redirect the output to a file and then view it with a web browser. For example: $ ./webclient http://www.yahoo.com/index.html > output.html A help file HTTP.pdf related to HTTP is uploaded to the course website. You are required to read this file and then develop the HTTP client for HTTP version 1.1. Please implement only those headers of the HTTP protocol as specified in...