Average download throughput using Wget
Hi, I wanted to know if Wget (windows version) calculates average download throughput and display the same in its output statistics. Below is the download I tried using Wget: --14:40:45-- HTTP request sent, awaiting response... 200 OK Length: 325,120 (318K) [application/vnd.ms-powerpoint] 0K .. .. .. .. .. 15% 78.15 KB/s 50K .. .. .. .. .. 31% 96.57 KB/s 100K .. .. .. .. .. 47% 167.29 KB/s 150K .. .. .. .. .. 62% 183.27 KB/s 200K .. .. .. .. .. 78% 119.22 KB/s 250K .. .. .. .. .. 94% 196.76 KB/s 300K .. ...100% 64.03 KB/s 14:40:48 (118.64 KB/s) - `test.ppt.1' saved [325120/325120] I have the following questions: (i) when the file download completes, the value displayed at the end 118.64 KB/s is Average Download throughput in KB/s OR is it the transfer rate at the last instance when the file download completes? (ii) If I want to calculate the average download throughput, should all the reading be added and divided by the no. of readings? Awaiting for your response. Thanks and Regards, Sankalp
Re: Average download throughput using Wget
From: sankalp_karpe [...] Wget (windows version) [...] windows version does not reveal the wget version. The output from wget -V might. (i) [...] The final speed reported ((118.64 KB/s)) should be the average speed for the whole download, that is, the full byte count divided by the full download time. (ii) [...] The final speed reported ((118.64 KB/s)) should be what you want, and it's unlikely that any simple calculation using the intermediate rates will give you what you want. Some algebra would be helpful to explain why not. An old related problem looks like this: A motorist is making a trip of 100km. After traveling for one hour, he notices that he has gone only 50km. How fast does he need to go for the next 50km to get an average speed for the whole trip of 100 km/h? Steven M. Schweda [EMAIL PROTECTED] 382 South Warwick Street(+1) 651-699-9818 Saint Paul MN 55105-2547
Question
Hi All, I am wondering if there is a way that I can download pdf files and organize them in a directory with Wget or should I write a code for that? If I need to write a code for that, would you please let me know if there is any sample code available? Thanks in advance - Shape Yahoo! in your own image. Join our Network Research Panel today!
Re: Question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andra Isan wrote: I am wondering if there is a way that I can download pdf files and organize them in a directory with Wget or should I write a code for that? If I need to write a code for that, would you please let me know if there is any sample code available? Hello Andra, I don't think your request is very clear. Certainly you can download PDF files with Wget. What do you mean by organize them in a directory? What sort of organization do you want? Please be as specific as possible. - -- Thanks, Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGuLVB7M8hyUobTrERCCsbAJ9zIhS8o930RFIQZOil+xFol4pj3gCcDEzw dvOkSyrG+VAstrI8bOr+Nks= =0l7Q -END PGP SIGNATURE-
Re: Question
I have a paper proceeding and I want to follow a link of that proceeding and go to a paper link, then follow the paper link and go to author link and then follow author link which leads to all the paper that the author has written. I want to place all these pdf files( papers of one author) into a directory. So, at the end I have directories of all authors containing papers that those authors have written. (one directory for each author) I am not sure if I can do it with Wget or not. Please let me know your idea Thanks in advance Micah Cowan [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andra Isan wrote: I am wondering if there is a way that I can download pdf files and organize them in a directory with Wget or should I write a code for that? If I need to write a code for that, would you please let me know if there is any sample code available? Hello Andra, I don't think your request is very clear. Certainly you can download PDF files with Wget. What do you mean by organize them in a directory? What sort of organization do you want? Please be as specific as possible. - -- Thanks, Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGuLVB7M8hyUobTrERCCsbAJ9zIhS8o930RFIQZOil+xFol4pj3gCcDEzw dvOkSyrG+VAstrI8bOr+Nks= =0l7Q -END PGP SIGNATURE- - Pinpoint customers who are looking for what you sell.
Re: Question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 It seems to me that you can simply start a recursive, non-parent-traversing fetch (-r -np) of the page with the links, and you'll end up with the PDF files you want (plus anything else linked to on that page). If the PDF files are stored in different directories on the website, they'll be in different directories in the fetch; otherwise, they won't be, and yeah you'd need to write some script to do what you need (sorry, no samples available). - -Micah Andra Isan wrote: I have a paper proceeding and I want to follow a link of that proceeding and go to a paper link, then follow the paper link and go to author link and then follow author link which leads to all the paper that the author has written. I want to place all these pdf files( papers of one author) into a directory. So, at the end I have directories of all authors containing papers that those authors have written. (one directory for each author) I am not sure if I can do it with Wget or not. */Micah Cowan [EMAIL PROTECTED]/* wrote: I don't think your request is very clear. Certainly you can download PDF files with Wget. What do you mean by organize them in a directory? What sort of organization do you want? Please be as specific as possible. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGuL097M8hyUobTrERCKqYAJ9/tC05b5+NI2xacmJfNqzQnzZEdgCfY+m7 UbasnhbVBKEk13w82PcJO6Q= =TeLr -END PGP SIGNATURE-