Peter Genczler | 1 Feb 14:36
Picon

-q option not work

Hello,

I would like to use wget for windows(Wget 1.11.4) refresh my dtdns
account only, so I use the -q option, but wget makes output file :-(.

My windows version: Win XP SP3 hungarian.

Thanks,

Peter

Henrik Holst | 1 Feb 18:39
Favicon

Re: -q option not work

-q does not disable the output file, it only tells wget to not display
progress, status etc.

On Unix you would perform what you want with -O /dev/null, I don't know if
there is a windows equivalent though.

/hh
Den 1 feb 2012 18:36 skrev "Peter Genczler" <peter.genczler <at> zhw.hu>:

> Hello,
>
> I would like to use wget for windows(Wget 1.11.4) refresh my dtdns
> account only, so I use the -q option, but wget makes output file :-(.
>
> My windows version: Win XP SP3 hungarian.
>
> Thanks,
>
> Peter
>
>

Ray Satiro | 1 Feb 19:40
Picon
Favicon
Gravatar

Re: -q option not work

>________________________________
> From: Henrik Holst <henrik.holst <at> millistream.com>
>To: Peter Genczler <peter.genczler <at> zhw.hu> 
>Cc: bug-wget <at> gnu.org 
>Sent: Wednesday, February 1, 2012 12:39 PM
>Subject: Re: [Bug-wget] -q option not work
> 
>-q does not disable the output file, it only tells wget to not display
>progress, status etc.
>
>On Unix you would perform what you want with -O /dev/null, I don't know if
>there is a windows equivalent though.
>
>/hh
>Den 1 feb 2012 18:36 skrev "Peter Genczler" <peter.genczler <at> zhw.hu>:
>
>> Hello,
>>
>> I would like to use wget for windows(Wget 1.11.4) refresh my dtdns
>> account only, so I use the -q option, but wget makes output file :-(.
>>
>> My windows version: Win XP SP3 hungarian.

Instead of /dev/null in Windows there's \\?\Device\Null and it's referred to using the reserved name NUL.
So do -O NUL

Ángel González | 1 Feb 20:38
Picon

Re: Fix: Large files in WARC

On 01/02/12 00:23, Gijs van Tulder wrote:
> Hi,
>
> Another small problem in the WARC section: wget crashes with a
> segmentation fault if you have WARC output enabled and try to download
> a file larger than 2GB. I think this is because of the size_t, ftell
> and fseek in warc.c.
>
> The attached patch changes the references from size_t to off_t, ftell
> to ftello, fseek to fseeko. On my 64-bit system this seemed to fix the
> problem (but I'm not an expert in these matters, so maybe this doesn't
> hold for 32-bit systems).
>
> Regards,
>
> Gijs
You would also need
 #define _FILE_OFFSET_BITS 64
but that seems already handled by configure.
I'm not sure if that would work for 32bit Windows, though.

Giuseppe Scrivano | 4 Feb 11:05
Picon
Gravatar

Re: Fix: Large files in WARC

Gijs van Tulder <gvtulder <at> gmail.com> writes:

> Hi,
>
> Another small problem in the WARC section: wget crashes with a
> segmentation fault if you have WARC output enabled and try to download
> a file larger than 2GB. I think this is because of the size_t, ftell
> and fseek in warc.c.
>
> The attached patch changes the references from size_t to off_t, ftell
> to ftello, fseek to fseeko. On my 64-bit system this seemed to fix the
> problem (but I'm not an expert in these matters, so maybe this doesn't
> hold for 32-bit systems).

Thanks, pushed!

Giuseppe

Giuseppe Scrivano | 4 Feb 11:07
Picon
Gravatar

Re: Fix: Large files in WARC

Ángel González <keisial <at> gmail.com> writes:

> You would also need
>  #define _FILE_OFFSET_BITS 64
> but that seems already handled by configure.
> I'm not sure if that would work for 32bit Windows, though.

_FILE_OFFSET_BITS is defined by the "AC_SYS_LARGEFILE" macro in the
configure.ac file so we haven't to worry about it.

Cheers,
Giuseppe

antoine sauray | 8 Feb 21:04
Picon

wget probleme

hello,

First i wanted to say that wget in an incredible software and i use it
veryoften. The problem is that i use it on windows and there's something i
can't do because of this. I can't use cookies !!
I can't go back to linux because i need to stay on windows . I've got a lot
of softwares i really need. I don't know if you still maintain the windows
version but it would be cool if someone could add this function .

thank you

don't pay attention to my english cause i'm french

Henrik Holst | 9 Feb 08:50
Favicon

Re: wget probleme

--load-cookies, --save-cookies and --keep-session-cookies must surely be
available in the Windows version?

/HH

ons 2012-02-08 klockan 21:04 +0100 skrev antoine sauray:
> hello,
> 
> First i wanted to say that wget in an incredible software and i use it
> veryoften. The problem is that i use it on windows and there's something i
> can't do because of this. I can't use cookies !!
> I can't go back to linux because i need to stay on windows . I've got a lot
> of softwares i really need. I don't know if you still maintain the windows
> version but it would be cool if someone could add this function .
> 
> thank you
> 
> 
> 
> don't pay attention to my english cause i'm french

Picon
Gravatar

wget and filename redirection

Hi,

A newbie question.

Does wget have the feature to follow filename redirection?

Meaning of filename redirection is, a website
http://example.com/download/latest will always redirect to the latest file
URL, such as http://example.com/download/apps-1.2.3.tar.gz , but wget will
save the file as "latest" .

Is there a way to save the file according to the name it redirects to? If
the feature is not available, I would really appreciate if it could be
implemented.

Thanks.

Reference:
http://www.linuxquestions.org/questions/linux-software-2/wget-and-redirection-345815/

My own example:

root <at> debian:~# wget http://codeigniter.com/download.php
--2012-02-10 10:26:51--  http://codeigniter.com/download.php
Resolving codeigniter.com (codeigniter.com)... 216.250.166.124
Connecting to codeigniter.com (codeigniter.com)|216.250.166.124|:80...
connected.
HTTP request sent, awaiting response... 302 Found
Location: download_files/reactor/CodeIgniter_2.1.0.zip [following]
--2012-02-10 10:26:52--
(Continue reading)

Jean Collin | 9 Feb 14:39
Picon

wget returning can't resolve symbol 'localeconv'

trying a simple script to get a file using wget

cd /jffs/usr/sbin

/jffs/usr/bin/wget -d  "http://www.true.mistral.co.uk/ipcam/pan.txt"

echo "B"`cat pan.txt` > /dev/tts/1

and getting error from wget as follows

DEBUG output created by Wget 1.11.4 on linux-gnu.

--2012-02-09 07:33:53--  http://www.true.mistral.co.uk/ipcam/pan.txt
Resolving www.true.mistral.co.uk... 62.169.150.234
Caching www.true.mistral.co.uk => 62.169.150.234
Connecting to www.true.mistral.co.uk|62.169.150.234|:80... connected.
Created socket 3.
Releasing 0x1000e958 (new refcount 1).

---request begin---
GET /ipcam/pan.txt HTTP/1.0
User-Agent: Wget/1.11.4
Accept: */*
Host: www.true.mistral.co.uk
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
(Continue reading)


Gmane