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

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 the

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

2006-10-17 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 o

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 th

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

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,

Bug? page requisites are not downloaded when output to stdout

2005-11-20 Thread Mark Pors
Hi, I use wget version 1.10.2 When using the -p switch together with the -O - option, the images and other page requisites are not downloaded. When -O is not specified, images are downloaded, also when I use -O . Example: wget -H -O - -p http://www.kpn.com/ versus: wget -H -p http://www.kp

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 option! It would be > really great if I could print the converted URLs to stdout. Does > anyone have a work aro

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 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 sof

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

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 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 ... 2>&1 | command solve your problem ? -- André Majorel http://www.teaser.fr/~amajorel/>

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: 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 an

Recursive output fails after first file when writing to stdout

2001-05-09 Thread Greg Robinson
Hello all: 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 it at when stdout is specified as the