Durganshu / wgetD

wgetD is a TCP based application for sending and receiving HTTP requests. It is a simplified version of the linux wget application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wgetD

(The instructions for running the code are for Linux (particularly for Ubuntu 20.04 LTS)

wgetD is a C-based program to send an HTTP request, receive the reply, and download the HTML file. The application is based on TCP.

There's also a 'sample_weblinks.log' file which contains some sample web links that are active and can be used for using the program.

Running the code

Get inside the directory (wherever it is placed) and build the target:

git clone https://github.com/Durganshu/wgetD.git
cd wgetD
make

Run the executable:

./wgetD <url>

By default, the downloaded page would be saved in a file called received_page. In case, the user wants to name his own file, it can be done using this command:

./wgetD <url> <file name>

About

wgetD is a TCP based application for sending and receiving HTTP requests. It is a simplified version of the linux wget application.


Languages

Language:C 96.6%Language:Makefile 3.4%