no CWD on FTP resume

2007-07-04 Thread Roman Golovanov

Hi,

I've download a large file from unstable ftp server, so I use -c -T
10 for resuming download. But while resuming, WGET doesn't call CWD
to change remote directory, so FTP server cannot find file because it
search it in ftp root directory.

Client log:

--12:58:29--  ftp://*user*:[EMAIL PROTECTED]/internet/TorrentCompleted/SGCD1.mdf
  = `dneverov.net.ru/internet/TorrentCompleted/SGCD1.mdf'
== CWD /internet/TorrentCompleted ... done.
== PASV ... done.== REST 7266304 ... done.
== RETR SGCD1.mdf ... done.
Length: 844,911,312 (806M), 837,645,008 (799M) remaining

2% [=
] 18,718,720
--.--K/s  ETA 3:33:05

13:01:27 (63.01 KB/s) - Data connection: Connection timed out; Control
connection closed.
Retrying.

--13:01:33--  ftp://*user*:[EMAIL PROTECTED]/internet/TorrentCompleted/SGCD1.mdf
 (try: 2) = `dneverov.net.ru/internet/TorrentCompleted/SGCD1.mdf'
Connecting to dneverov.net.ru|85.21.237.132|:21... connected.
Logging in as romka ... Logged in!
== SYST ... done.== PWD ... done.
== TYPE I ... done.  == CWD not required.
== PASV ... done.== REST 18718720 ... done.
== RETR SGCD1.mdf ...
No such file `SGCD1.mdf'.



Server log (failed request):

07/07/04 13:04:41, 89268, 85.140.166.18, romka, new connection from
85.140.166.18
07/07/04 13:04:42, 89268, 85.140.166.18, romka, 230 User *user* logged in.
07/07/04 13:04:42, 89268, 85.140.166.18, romka, SYST
07/07/04 13:04:42, 89268, 85.140.166.18, romka, 215 UNIX Type: L8
07/07/04 13:04:42, 89268, 85.140.166.18, romka, PWD
07/07/04 13:04:42, 89268, 85.140.166.18, romka, 257 / is current directory.
07/07/04 13:04:42, 89268, 85.140.166.18, romka, TYPE I
07/07/04 13:04:42, 89268, 85.140.166.18, romka, 200 Type set to I.
07/07/04 13:04:42, 89268, 85.140.166.18, romka, PASV
07/07/04 13:04:42, 89268, 85.140.166.18, romka, 227 Entering Passive
Mode (85,21,237,132,11,187)
07/07/04 13:04:42, 89268, 85.140.166.18, romka, REST 18718720
07/07/04 13:04:42, 89268, 85.140.166.18, romka, 350 Restarting at
18718720. Send STORE or RETRIEVE.
07/07/04 13:04:42, 89268, 85.140.166.18, romka, RETR SGCD1.mdf
07/07/04 13:04:42, 89268, 85.140.166.18, romka, asked to download
'/SGCD1.mdf' - 'Empty://SGCD1.mdf' from 18718720 -- File not found.
07/07/04 13:04:42, 89268, 85.140.166.18, romka, 550 SGCD1.mdf: no such file.


__
with best regards,
Roman Golovanov


Re: no CWD on FTP resume

2007-07-04 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Roman Golovanov wrote:
 Hi,
 
 I've download a large file from unstable ftp server, so I use -c -T
 10 for resuming download. But while resuming, WGET doesn't call CWD
 to change remote directory, so FTP server cannot find file because it
 search it in ftp root directory.

Hi, and thanks for your bug report.

Could you please specify what version of Wget you are using? Thanks!

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGi/xf7M8hyUobTrERCFuwAJ9iKvsHxFJVXWTyelV3oS2ssPdLWwCfer03
hb5a4pGUPk2dUPl1Ulf5wL0=
=Sq5A
-END PGP SIGNATURE-


css @import parsing

2007-07-04 Thread Andreas Pettersson

Hi list.

Have there been any progress with this patch since this post?
http://www.mail-archive.com/wget@sunsite.dk/msg09502.html

Getting @import url's to work correctly is on the top of my wishlist and 
I'm very grateful for everything that's being done.


Best regards,

--
Andreas




WGET Dev branch BROKEN

2007-07-04 Thread Christopher G. Lewis
OK - 

  (First of all, welcome to Micah - thanks for working with us :-)

  Sorry I didn't catch this earlier, but it looks like something broke in
the dev branch recently.

  I've got a batch that autobuilds the SVN dev tree and posts the results to
my windows wget page.  Part of that build is to grab the cacert.PEM from the
curl site. 

  Recently, the SRC\WGET.EXE file wasn't able to download this URL
http://curl.haxx.se/ca/cacert.pem

Here are some debug outputs:

---  WGET 1.10.2  (WORKS) ---  

C:\CVSProjects\Wgetwget -V --debug http://curl.haxx.se/ca/cacert.pem
GNU Wget 1.10.2

Copyright (C) 2005 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Originally written by Hrvoje Niksic [EMAIL PROTECTED].

C:\CVSProjects\Wgetwget --debug http://curl.haxx.se/ca/cacert.pem
DEBUG output created by Wget 1.10.2 on Windows.

--00:43:47--  http://curl.haxx.se/ca/cacert.pem
   = `cacert.pem'
Resolving curl.haxx.se... seconds 0.00, 91.191.140.28
Caching curl.haxx.se = 91.191.140.28
Connecting to curl.haxx.se|91.191.140.28|:80... seconds 0.00, connected.
Created socket 1948.
Releasing 0x00392788 (new refcount 1).

---request begin---
GET /ca/cacert.pem HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: curl.haxx.se
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Thu, 05 Jul 2007 05:43:29 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-19 mod_ssl/2.8.22
OpenSSL/0.9.7e
Last-Modified: Wed, 04 Jul 2007 03:14:18 GMT
ETag: 15e9b8-68168-468b108a
Accept-Ranges: bytes
Content-Length: 426344
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/plain; charset=iso-8859-1

---response end---
200 OK
Registered socket 1948 for persistent reuse.
Length: 426,344 (416K) [text/plain]

100%[===
=] 426,344   73.27K/sETA 00:00

00:43:53 (67.41 KB/s) - `cacert.pem' saved [426344/426344]


---  WGET TRUNK ---  
C:\CVSProjects\Wgettrunk\src\wget -V --debug
http://curl.haxx.se/ca/cacert.pem
GNU Wget 1.10+devel

Copyright (C) 2006 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Originally written by Hrvoje Niksic [EMAIL PROTECTED].

Currently maintained by Mauro Tortonesi [EMAIL PROTECTED].

C:\CVSProjects\Wgettrunk\src\wget --debug http://curl.haxx.se/ca/cacert.pem
DEBUG output created by Wget 1.10+devel on Windows-MSVC.

--00:45:17--  http://curl.haxx.se/ca/cacert.pem
Resolving curl.haxx.se... seconds 0.00, 91.191.140.28
Caching curl.haxx.se = 91.191.140.28
Connecting to curl.haxx.se|91.191.140.28|:80... seconds 0.00, connected.
Created socket 1948.
Releasing 0x00393450 (new refcount 1).

---request begin---
HEAD /ca/cacert.pem HTTP/1.0
User-Agent: Wget/1.10+devel
Accept: */*
Host: curl.haxx.se
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Thu, 05 Jul 2007 05:44:59 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-19 mod_ssl/2.8.22
OpenSSL/0.9.7e
Last-Modified: Wed, 04 Jul 2007 03:14:18 GMT
ETag: 15e9b8-68168-468b108a
Accept-Ranges: bytes
Content-Length: 426344
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/plain; charset=iso-8859-1

---response end---
200 OK
Registered socket 1948 for persistent reuse.
Length: 426344 (416K) [text/plain]
00:45:17 (0.00 B/s) - Connection closed at byte 0. Retrying.

--00:45:17--  http://curl.haxx.se/ca/cacert.pem
Reusing existing connection to curl.haxx.se:80.
Reusing fd 1948.

---request begin---
HEAD /ca/cacert.pem HTTP/1.0
User-Agent: Wget/1.10+devel
Accept: */*
Host: curl.haxx.se
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Thu, 05 Jul 2007 05:44:59 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-19 mod_ssl/2.8.22
OpenSSL/0.9.7e
Last-Modified: Wed, 04 Jul 2007 03:14:18 GMT
ETag: 15e9b8-68168-468b108a
Accept-Ranges: bytes
Content-Length: 426344
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/plain; charset=iso-8859-1

---response end---
200 OK
Length: 426344 (416K) [text/plain]
00:45:17 (0.00 B/s) - Connection closed at byte 0. Retrying.

 500 lines of the same 

--00:45:20--  (try:20)  http://curl.haxx.se/ca/cacert.pem
Reusing existing connection to curl.haxx.se:80.
Reusing fd 1948.

---request begin---
HEAD /ca/cacert.pem HTTP/1.0
User-Agent: Wget/1.10+devel
Accept: */*
Host: curl.haxx.se
Connection: Keep-Alive

---request end---
HTTP request sent,