This is the mail archive of the
mailing list for the Cygwin project.
Re: Weird wget behaviour
At 09:45 2003-04-11, Christopher Faylor wrote:
On Fri, Apr 11, 2003 at 11:56:39AM -0400, Igor Pechtchanski wrote:
>On Fri, 11 Apr 2003, Ronald Landheer-Cieslak wrote:
>> On Fri, 11 Apr 2003, Rolf Campbell wrote:
>> > Marko Daris wrote:
>> > > I'm using cygwin's wget (1.8.2) to mirror some web sites... I found an
>> > > url which stops (cygwins) wget:
>> > > wget http://www.uga.edu/ethnobot/Con.html
>> > Oh, oh, I think I know what it is! I bet it's because basename of the
>> > local filename is called "CON". That's a reserved word in Windows. It
>> > means console.
>> That would explain gettong the contents on screen, but not the hanging,
>> would it?
>It might, actually. I suspect stat() & co are a bit broken with respect
>to special names (e.g., con, prn, and others).
I doubt it. Maybe wget noticed that con.html existed and tried to read
something from it.
Ah. That rings a bell.
Wget wants to go back over the HTML files it retrieved and fix up any
links or resources they contain to other files downloaded in the same
wget invocation to be the proper "file:..." URL for the now-locally
available link target or resource.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html