Question: In this programming assignment, you will implement a SimpleWebGet program for non interactive download of files from the Internet. This program is very similar to


In this programming assignment, you will implement a SimpleWebGet program for non interactive download of files from the Internet. This program is very similar to wget utility in Unix/Linux environment. The synopsis of SimpleWebGet is java SimpleWebGet URL The URL could be either a valid link on the Internet, e.g., a.cs.umass.edu/wireshark-labs/alice.txt or a n invalid link The output of SimpleWebGet for valid links should be the same as wget utility in Linux, except the progress line highlighted within the red rectangle 100% [ 1 152.138 248.78K/s stats.asu.edu - PuTTY bash-2.05b$ bash-2.05bs wget gaia.cs.umass.edu/wireshark-labs/alice.txt -13:25:00http://gaia.cs.umass.edu/wireshark-labs/alice.txt => . alice . txt Resolving gaia.cs.umass.edu... 128.119.245.12 Connecting to gaia.cs.umass.edu [128.119.245.12]:80. . . connected HTTP request sent, awaiting response... 200 OK Length: 152,138 [text/plain] 100% [ 1 152,138 248.78K/ 13:25:01 (248.21 KB/s)-alice.txt' saved [152,138/152,138] bash-2.05b$ In this programming assignment, you will implement a SimpleWebGet program for non interactive download of files from the Internet. This program is very similar to wget utility in Unix/Linux environment. The synopsis of SimpleWebGet is java SimpleWebGet URL The URL could be either a valid link on the Internet, e.g., a.cs.umass.edu/wireshark-labs/alice.txt or a n invalid link The output of SimpleWebGet for valid links should be the same as wget utility in Linux, except the progress line highlighted within the red rectangle 100% [ 1 152.138 248.78K/s stats.asu.edu - PuTTY bash-2.05b$ bash-2.05bs wget gaia.cs.umass.edu/wireshark-labs/alice.txt -13:25:00http://gaia.cs.umass.edu/wireshark-labs/alice.txt => . alice . txt Resolving gaia.cs.umass.edu... 128.119.245.12 Connecting to gaia.cs.umass.edu [128.119.245.12]:80. . . connected HTTP request sent, awaiting response... 200 OK Length: 152,138 [text/plain] 100% [ 1 152,138 248.78K/ 13:25:01 (248.21 KB/s)-alice.txt' saved [152,138/152,138] bash-2.05b$
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
