Re: Wget do not exit after the 100 percent of downloading;

2006-02-20 Thread Steven M. Schweda
   I haven't seen this behavior, but adding -d to the Wget command
line might tell you something about what it's doing.

 [...] Wget 1.5.3.1

   1.10.2 is current.  1.5.3 is pretty old.

  http://www.gnu.org/software/wget/wget.html



   Steven M. Schweda   (+1) 651-699-9818
   382 South Warwick Street[EMAIL PROTECTED]
   Saint Paul  MN  55105-2547


Re: Wget do not exit after the 100 percent of downloading;

2006-02-20 Thread Hrvoje Niksic
于斌 [EMAIL PROTECTED] writes:

 I am using a version of  GNU Wget 1.5.3.1

Old versions of Wget always read the HTTP socket until EOF.  This does
not hold well with some modern servers, which expect the client to
only read the amount of bytes specified in the Content-Length header.
This is fixed in Wget 1.10.2 -- as Steven said, 1.5.3 is pretty old,
so it would be a good idea to try a newer version regardless of this
problem.


Strange character in file length

2006-02-20 Thread Valery Kondakoff
Hello, wget-gurus!

When downloading wget displays 'a' character insted of '.' (dot) in a file
length.  Here is a screenshot http://www.nncron.ru/temp/wget.jpg (GNU Wget
1.10.1 under WinXP SP2). Is this a bug or this is intentional behaviour? Am
I doing smth wrong?  

-- 
Best regards,
 Valery Kondakoff  mailto:[EMAIL PROTECTED]

PGP key: mailto:[EMAIL PROTECTED]@nncron.ru




Re: Strange character in file length

2006-02-20 Thread Hrvoje Niksic
Valery Kondakoff [EMAIL PROTECTED] writes:

 When downloading wget displays 'a' character insted of '.' (dot) in
 a file length.  Here is a screenshot
 http://www.nncron.ru/temp/wget.jpg (GNU Wget 1.10.1 under WinXP
 SP2). Is this a bug or this is intentional behaviour? Am I doing
 smth wrong?

It's a bug.  The a character is probably the thousand separator, but
I don't understand why it is displayed in that way.  If you understand
Windows C programming, take a look at the function `add_thousand_seps'
in utils.c (http://svn.dotsrc.org/repo/wget/branches/1.10/src/utils.c)
and see if you can spot anything wrong.  The thousand grouping data
comes directly from the call to localeconv(), which is ANSI C.


wget seems not to respect -np

2006-02-20 Thread Konstantin
Hi, 
It looks like wget does not respect -np option, when I try to mirror only stuff
below http://www.ibiblio.org/maven2/xstream wget still goes up  
wget --mirror  -v -nH --cut-dirs=2  -l 5 --no-parent   --recursive   
http://www.ibiblio.org/maven2/xstream

Do I do something stupid?



Re: wget seems not to respect -np

2006-02-20 Thread Steven M. Schweda
 Do I do something stupid?

   Well, you didn't say which version of Wget (wget -v) you're using,
or on which operating system you're running it.  Also, you might get
some helpful output if you add -d to your command.



   Steven M. Schweda   (+1) 651-699-9818
   382 South Warwick Street[EMAIL PROTECTED]
   Saint Paul  MN  55105-2547