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-


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