Bug using recursive get and stdout

2007-04-17 Thread Jonathan A. Zdziarski
Greetings, Stumbled across a bug yesterday reproduced in both v1.8.2 and 1.10.2. Apparently, recursive get tries to open the file for reading after downloading, to download subsequent files. Problem is, when used with -O - to deliver to stdout, it cannot open that file, so you get

Re: Bug using recursive get and stdout

2007-04-17 Thread Steven M. Schweda
A quick search at http://www.mail-archive.com/wget@sunsite.dk/; for -O found: http://www.mail-archive.com/wget@sunsite.dk/msg08746.html http://www.mail-archive.com/wget@sunsite.dk/msg08748.html The way -O is implemented, there are all kinds of things which are incompatible with

Re: Weird behavour of wget on Win32 while outputting file to stdout

2006-10-18 Thread Doug Kaufman
On Mon, 16 Oct 2006, Fi Dot wrote: Yeah. It was exactly the issue of not binmoding STDOUT. Patch attached - it seems to fix the problem. I think that patch is a start, but is incomplete. The wget code already uses O_BINARY rather than _O_BINARY. Also, you don't want binary output to go

Re: Weird behavour of wget on Win32 while outputting file to stdout

2006-10-16 Thread Fi Dot
Yeah. It was exactly the issue of not binmoding STDOUT. Patch attached - it seems to fix the problem. Fi. On 10/16/06, Fi Dot [EMAIL PROTECTED] wrote: On 10/16/06, Willener, Pat [EMAIL PROTECTED] wrote: What you describe looks like Windows ASCII mode. I thought (from the description

RE: Weird behavour of wget on Win32 while outputting file to stdout

2006-10-15 Thread Willener, Pat
: Saturday, October 14, 2006 2:17 AM To: wget@sunsite.dk Subject: Weird behavour of wget on Win32 while outputting file to stdout Hi, many-respected all! Recently, playing with wget on win32 (version 1.10.2, downloaded from http://users.ugent.be/~bpuype/wget/ ), I have encountered a problem which I'd like

Weird behavour of wget on Win32 while outputting file to stdout

2006-10-13 Thread Fi Dot
Hi, many-respected all! Recently, playing with wget on win32 (version 1.10.2, downloaded from http://users.ugent.be/~bpuype/wget/ ), I have encountered a problem which I'd like to share with ya. When I do wget -O - http://foo/bar the stream I get on STDOUT is corrupt. Let's say, I do wget

Re: wget 1.8.2 - relatives URLs to absolute in stdout

2002-06-23 Thread vogue
Dear wget list, I'm really amazed by the -k option in wget, however, it doesn't appear to work with the -O - option or even the -O file option! It would be really great if I could print the converted URLs to stdout. Does anyone have a work around? Or maybe another piece

wget 1.8.2 - relatives URLs to absolute in stdout

2002-06-22 Thread vogue
Dear wget list, I'm really amazed by the -k option in wget, however, it doesn't appear to work with the -O - option or even the -O file option! It would be really great if I could print the converted URLs to stdout. Does anyone have a work around? Or maybe another piece of software

stdout

2002-01-25 Thread Jens Röder
Hello, for wget I would suggest a switch that allows to send the output directly to stdout. It would be easier to use it in pipes. with best regards JR -- Jens Röder, Braunschweig

Re: stdout

2002-01-25 Thread Andre Majorel
On 2002-01-25 14:01 +0100, Jens Röder wrote: for wget I would suggest a switch that allows to send the output directly to stdout. It would be easier to use it in pipes. Does wget ... 21 | command solve your problem ? -- André Majorel URL:http://www.teaser.fr/~amajorel/ std::disclaimer

Re: stdout

2002-01-25 Thread Thomas Lussnig
Jens Röder wrote: Hello, for wget I would suggest a switch that allows to send the output directly to stdout. It would be easier to use it in pipes. wget -O - -o /dev/null send log messages to null and download to stdout smime.p7s Description: S/MIME Cryptographic Signature

Re: stdout

2002-01-25 Thread Hrvoje Niksic
Jens Röder [EMAIL PROTECTED] writes: for wget I would suggest a switch that allows to send the output directly to stdout. It would be easier to use it in pipes. Are you talking about the log output or the text of the documents Wget downloads? * Log output goes to stderr by default, and can

Re: Recursive output fails after first file when writing to stdout

2001-05-14 Thread Jan Prikryl
Quoting Greg Robinson ([EMAIL PROTECTED]): I'm having a problem with wget. I need to have the program (while running recursively) output to stdout so that I can pipe the output to a separate filter process. Unfortunately, wget will only download the first file from any site I point