Re: trouble with -p

2008-07-28 Thread Michelle Konzack
Am 2008-07-19 10:26:25, schrieb Micah Cowan: That strikes me as not quite right. If Wget sees http://www.ifixit.com/Guide/First-Look/iPhone3G, and it's not redirected to http://www.ifixit.com/Guide/First-Look/iPhone3G/, then Wget will use a file name. What's more, if it later sees it with the

Re: trouble with -p

2008-07-24 Thread Brian Keck
On Sun, 20 Jul 2008 23:08:56 +0200, Matthias Vill wrote: Brian Keck schrieb: If you do wget http://www.ifixit.com/Guide/First-Look/iPhone3G then you get an HTML file called iPhone3G. But if you do wget -p http://www.ifixit.com/Guide/First-Look/iPhone3G then you get a

Re: trouble with -p

2008-07-24 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Keck wrote: (It also renames diggthis.js to diggthis.js.html, but I don't care about that). That's an indication that the server is misconfigured, and is serving diggthis.js as text/html, rather than text/javascript or text/x-javascript. -

Re: trouble with -p

2008-07-23 Thread Brian Keck
On Sat, 19 Jul 2008 10:26:25 MST, Micah Cowan wrote: Brian Keck wrote: If you do wget http://www.ifixit.com/Guide/First-Look/iPhone3G then you get an HTML file called iPhone3G. But if you do wget -p http://www.ifixit.com/Guide/First-Look/iPhone3G then you get a directory called

Re: trouble with -p

2008-07-20 Thread Matthias Vill
Hi Brian, maybe this helps: --html-extension If a file of type application/xhtml+xml or text/html is downloaded and the URL does not end with the regexp \.[Hh][Tt][Mm][Ll]?, this option will cause the suffix .html to be appended to the local filename. This is useful, for instance, when

Re: trouble with -p

2008-07-19 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Keck wrote: Hello, If you do wget http://www.ifixit.com/Guide/First-Look/iPhone3G then you get an HTML file called iPhone3G. But if you do wget -p http://www.ifixit.com/Guide/First-Look/iPhone3G then you get a

Re: trouble with -p

2008-07-19 Thread James Cloos
Micah == Micah Cowan [EMAIL PROTECTED] writes: Micah I'm not sure what you mean by I want both. He means that, when the -p option is given, he wants to mangle either the created filename or the created directory name so that both do in fact get created on the filesystem and all related files

Re: trouble with -p

2008-07-19 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Cloos wrote: Micah == Micah Cowan [EMAIL PROTECTED] writes: Micah I'm not sure what you mean by I want both. He means that, when the -p option is given, he wants to mangle either the created filename or the created directory name so

Re: trouble with -p

2007-08-16 Thread Matthew Woehlke
Micah Cowan wrote: Brian Keck wrote: Sometimes -p doesn't work. For instance: wget -p http://en.wikipedia.org/wiki/Herbig-Haro_object In this case, it appears that you've bumped into the fact that wget, by default, will refuse to cross hostname boundaries to download things, unless

Re: trouble with -p

2007-08-16 Thread Micah Cowan
Matthew Woehlke wrote: Micah Cowan wrote: Brian Keck wrote: Sometimes -p doesn't work. For instance: wget -p http://en.wikipedia.org/wiki/Herbig-Haro_object In this case, it appears that you've bumped into the fact that wget, by default, will refuse to cross hostname boundaries to

Re: trouble with -p

2007-08-13 Thread Brian Keck
On Sun, 12 Aug 2007 19:44:36 MST, Micah Cowan wrote: Brian Keck wrote: Sometimes -p doesn't work. For instance: ... You want the -H option. Thanks, so I do, Brian Keck

Re: trouble with -p

2007-08-12 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian Keck wrote: Hello, Sometimes -p doesn't work. For instance: wget -p http://en.wikipedia.org/wiki/Herbig-Haro_object Hi, The --debug flag will often provide useful information about why wget doesn't download something you expect