Comments on: How to Use Wget Command in Linux with Examples https://www.tecmint.com/10-wget-command-examples-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 15:39:54 +0000 hourly 1 By: Sivasreekanth https://www.tecmint.com/10-wget-command-examples-in-linux/comment-page-1/#comment-1204801 Tue, 16 Jul 2019 12:04:01 +0000 http://www.tecmint.com/?p=1208#comment-1204801 Hi,

I need help regarding below, when T try to download website using command wget --mirror, it is going to ReadLine loop and coming out to complete request, can any one suggest on the same please.

private void downLoadReport() {

		Runtime rt = Runtime.getRuntime();

		try {
			System.out.println("InsideTRY");

			Process p = rt.exec(wgetDir + "wget --mirror http://alex.smola.org/drafts/thebook.pdf");
			// return result == 0;
			// Process p = Runtime.getRuntime().exec("wget --mirror
			// http://askubuntu.com");
			System.out.println("Process " + p);
			BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()));
			String line;
			while ((line = reader.readLine()) != null) {
				// System.out.println(lineNumber + "\n");
			}
			System.out.println(line + "\n");

			System.out.println("Download process is success");
			System.out.println("Wget --mirror has been successfully executed....");

		}

		catch (IOException ioe) {
			System.out.println(ioe);

		} /*
			 * catch (InterruptedException e) { // TODO Auto-generated catch
			 * block e.printStackTrace(); }
			 */

	}
]]>
By: umesh https://www.tecmint.com/10-wget-command-examples-in-linux/comment-page-1/#comment-941454 Tue, 28 Nov 2017 08:21:09 +0000 http://www.tecmint.com/?p=1208#comment-941454 everything is ok, but how to find particular software link (google chrome, team viewer etc.)

]]>
By: Thomas https://www.tecmint.com/10-wget-command-examples-in-linux/comment-page-1/#comment-906995 Thu, 17 Aug 2017 22:25:56 +0000 http://www.tecmint.com/?p=1208#comment-906995 Great post! Have nice day ! :)

]]>
By: Bhuvana https://www.tecmint.com/10-wget-command-examples-in-linux/comment-page-1/#comment-749948 Thu, 11 Feb 2016 07:51:33 +0000 http://www.tecmint.com/?p=1208#comment-749948 We are facing slowness when we are sending traffic using wget in linux machines through TCL .
Traffic passing gets struck in the middle when the file size is more than 100MB.
Hence we are unable to meassure the bandwidth during download.
Please suggest any way to address this issue.

]]>
By: Bibin https://www.tecmint.com/10-wget-command-examples-in-linux/comment-page-1/#comment-588906 Thu, 04 Jun 2015 15:21:12 +0000 http://www.tecmint.com/?p=1208#comment-588906 In reply to Scully.

It’s due to permission of sending file…change it to 777 and try without ftp:// (it definitely works)

]]>