Re: Using a variable to get files in sequence

2007-04-03 Thread Steven M. Schweda
From: Williamts99 > Is there any way [...] to force wget to use the wildcards? Sure. You did it. Unfortunately, there's no way to force the HTTP server to use wildcards. One could probably write a script to do this sort of thing, but, without knowing which OS you're using, it's difficult

Using a variable to get files in sequence

2007-04-03 Thread Williamts99
I would like to use a command to get files numbered 1.pdf through 401.pdf but for some reason wget doesn't seem to support using wildcards through HTTP. Is there any way around this limitation, to force wget to use the wildcards? my example would be something like: wget http://print.nap.edu/pdf/

Re: Cannot write to auto-generated file name

2007-04-03 Thread Steven M. Schweda
>From Tony Lewis: > In which case, wget should do something reasonable (generate an error > message, truncate the file name, etc.). [...] Sadly, this is easier said than done. Around here (VMS), the complaint is "i/o error". I haven't tried it on a UNIX, but it could easily be different the

RE: Cannot write to auto-generated file name

2007-04-03 Thread Tony Lewis
Vitaly Lomov wrote: > It's a file system issue on windows: file path length is limited to > 259 chars. In which case, wget should do something reasonable (generate an error message, truncate the file name, etc.). It shouldn't be left as exercise for the user to figure out that the automatically g

Re: Cannot write to auto-generated file name

2007-04-03 Thread Vitaly Lomov
It's a file system issue on windows: file path length is limited to 259 chars. http://support.microsoft.com/kb/148754