Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4 From: MarkA Newsgroups: comp.os.linux.networking Subject: Re: wget behavior Date: 13 Feb 2017 20:08:37 GMT Organization: NewsGuy - Unlimited Usenet $23.95 Lines: 85 Message-ID: References: <874lzzc7v0.fsf@LkoBDZeT.terraraq.uk> <2ff86561-47d6-4f3a-9436-d3c7c6ad864b@googlegroups.com> <87poinarxi.fsf@LkoBDZeT.terraraq.uk> NNTP-Posting-Host: p18a0e0c7afcaa829b5a9da0a2b0a83ac7d3ae6e9a5cf6cf3.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-Received-Bytes: 4169 X-Received-Body-CRC: 957874184 Xref: csiph.com comp.os.linux.networking:3963 On Mon, 13 Feb 2017 20:02:00 +0000, MarkA wrote: > On Mon, 13 Feb 2017 11:32:59 +0000, William Unruh wrote: > >> On 2017-02-12, MarkA wrote: >>> On Sun, 12 Feb 2017 23:51:53 +0000, Richard Kettlewell wrote: >>> >>>> Mark A writes: >>>>> Richard Kettlewell wrote: >>>>>> Mark A writes: >>>>>>> I'm using wget to download some large files from a download >>>>>>> server, >>>>>>> after several failed attempts to use Firefox's download function. >>>>>>> I can use the Firefox download function to get the URL of the >>>>>>> source, then paste that into wget, running in a Gnome terminal >>>>>>> window. wget starts and shows its progress bar across the bottom >>>>>>> of the window. If I press "Enter", the progress bar freezes, moves >>>>>>> up one line, and is immediately replaced by a new one that >>>>>>> continues to update. >>>>>>> >>>>>>> After a few minutes, the progress bar stops updating. If I press >>>>>>> "Enter", I get the command prompt. "jobs" shows wget still >>>>>>> running, >>>>>>> now in the background. >>>>>> >>>>>> I expect that there’s an ‘&’ in the URL and you didn’t quote it. >>>>> >>>>> No, no such characters in the URL. >>>> >>>> Well, wget doesn’t generally put itself into the background for no >>>> reason. >>> >>> Hence my puzzlement. Yet, there it is, with a big fat " &" after it, >>> when I type "jobs". >>> >>> >>>>> A few '%'s, though. Besides, a malformed URL would cause it to fail >>>>> immediately. >>>> >>>> ‘&’ doesn’t make the URL malformed. >>> >>> It does if it causes the software to misinterpret the URL. >>> >>> >>> >> Why not show us EXACTLY what command you typed. >> >> >> >> > Here it is (without line wraps in gnome terminal): > > wget https://storage-ec2-462.sharefile.com/download.ashx? > dt=dtee4b0bcf14d24d04a797f03216a4d935&h=H% > 2bHB7RL13PQ9UWYn0spJbdXPG4Hp2mRtj1bIC4xfrG4%3d > > Here is the command and response copied from the terminal: > toor@HPlaptop2013:/tmp$ wget https://storage-ec2-462.sharefile.com/ > download.ashx?dt=dtee4b0bcf14d24d04a797f03216a4d935&h=H% > 2bHB7RL13PQ9UWYn0spJbdXPG4Hp2mRtj1bIC4xfrG4%3d [1] 3755 > toor@HPlaptop2013:/tmp$ --2017-02-13 14:57:54-- https://storage- > ec2-462.sharefile.com/download.ashx? dt=dtee4b0bcf14d24d04a797f03216a4d935 > Resolving storage-ec2-462.sharefile.com > (storage-ec2-462.sharefile.com)... > 34.197.226.34 Connecting to storage-ec2-462.sharefile.com (storage- > ec2-462.sharefile.com)|34.197.226.34|:443... connected. > HTTP request sent, awaiting response... 200 OK Length: 6313479914 (5.9G) > [application/zip] > Saving to: ‘download.ashx?dt=dtee4b0bcf14d24d04a797f03216a4d935’ Once the progress bar stops updating, and network traffic has dropped off, typing "jobs" gives: toor@HPlaptop2013:/tmp$ jobs [1]+ Running wget https://storage-ec2-462.sharefile.com/ download.ashx?dt=dtee4b0bcf14d24d04a797f03216a4d935 & toor@HPlaptop2013:/tmp$ -- MarkA You can safely assume that you have created God in your own image when it turns out that God hates all the same people you do. -- Anne Lamott