Steven Enderle wrote:
> 
> short and dirty (in german):
> 
> Gr��en stimmen nicht �berein (lokal 6968552) -- erneuter Download.
> (sizes do not match) ... (retrieving)
> 
> --00:08:03--
> ftp://ftp.scene.org/pub/music/artists/nutcase/mp3/timeofourlives.mp3
>             =>
> `ftp.scene.org/pub/music/artists/nutcase/mp3/timeofourlives.mp3'
> ==> CWD nicht erforderlich.
> ==> PORT ... fertig.    ==> REST 6968552 ... fertig.
> ==> RETR timeofourlives.mp3 ... fertig.
> L�nge: 5,574,867 [noch -1,393,685]


The already downloaded file is bigger than the (6,968,552) than the file
to download (5,574,867).

> 
> assertion "percentage <= 100" failed: file "progress.c", line 552
> zsh: abort (core dumped)  wget -m -c --tries=0
> ftp://ftp.scene.org/pub/music/artists/nutcase/mp3/timeofourlives.mp3

progress.c
      int percentage = (int)(100.0 * size / bp->total_length);

      assert (percentage <= 100);
Of course the assert will fail, size is bigger than total_length !

> 
> hope this helps in any way.

Yes, it did after I "actually" read it 8-)

To reproduce with wget-1.8.1
$ wget ftp://sunsite.dk/disk1/gnu/wget/wget-1.8{,.1}.tar.gz
$ cat wget-1.8.tar.gz >> wget-1.8.1.tar.gz
$ wget -d -c ftp://sunsite.dk/disk1/gnu/wget/wget-1.8.1.tar.gz

DEBUG output created by Wget 1.8.1 on cygwin.

Using `.listing' as listing tmp file.
--13:48:44--  ftp://sunsite.dk/disk1/gnu/wget/wget-1.8.1.tar.gz
           => `.listing'
Resolving sunsite.dk... done.
Caching sunsite.dk => 130.225.247.90
Connecting to sunsite.dk[130.225.247.90]:21... connected.
Created socket 3.
Releasing 0x100b07b8 (new refcount 1).
Logging in as anonymous ... 220 ProFTPD 1.2.4 Server (SunSITE Denmark
FTP-Server) [sunsite-int.sunsite.dk]

--> USER anonymous

331 Anonymous login ok, send your complete email address as your
password.

--> PASS -wget@

230-
                        Welcome to SunSITE.dk
 
 SunSITE.dk is located at Aalborg University, Denmark. It is a Sun
 Enterprise E3500 Server with 2 400MHz UltraSPARC-II CPUs, 2 GB Memory
 and 563 GB raw storage capacity.
 and 563 GB raw storage capacity.
 
 The server was kindly donated by Sun Microsystems. Aalborg University,
 SuSE GmbH, 3Com Nordic, Silcon Group, CLARiiON, FourLeaf Technologies
 and Infoseek are sponsoring the project.
 
            More information on SunSITE.dk can be found at
 
                      http://sunsite.dk/SunSITE/
 
 Note that if ftp hangs or dies, try putting a hyphen at the start of
 your password. All transfers are logged and any misuse will be acted
 upon.
 
 Please email suggestions and questions to [EMAIL PROTECTED]
 
230 Anonymous access granted, restrictions apply.
Logged in!
==> SYST ... 
--> SYST

215 UNIX Type: L8
done.    ==> PWD ... 
--> PWD
257 "/" is current directory.
done.
==> TYPE I ... 
--> TYPE I

200 Type set to I.
done.  changing working directory
Prepended initial PWD to relative path:
  old: 'disk1/gnu/wget'
  new: '/disk1/gnu/wget'
==> CWD /disk1/gnu/wget ... 
--> CWD /disk1/gnu/wget

250 CWD command successful.
done.
==> PORT ... Master socket fd 4 bound.

--> PORT 192,168,1,131,13,205

200 PORT command successful.
done.    ==> LIST ... 
--> LIST

150 Opening ASCII mode data connection for file list.
done.
Created socket fd 5.

    [ <=>                                 ] 514           
3.35K/s             

Closing fd 5
Closing fd 4
226 Transfer complete.
13:48:45 (3.35 KB/s) - `.listing' saved [514]

PLAINFILE; perms 644; month: Sep; day: 23; year: 1998 (no tm); 
PLAINFILE; perms 644; month: Dec; day: 31; year: 2000 (no tm); 
PLAINFILE; perms 644; month: Dec; day: 31; year: 2000 (no tm); 
PLAINFILE; perms 644; month: Nov; day: 18; time: 15:43:00 (no yr); 
PLAINFILE; perms 644; month: Jun; day: 4; year: 2001 (no tm); 
PLAINFILE; perms 644; month: Dec; day: 25; time: 21:04:00 (no yr); 
PLAINFILE; perms 644; month: Dec; day: 10; time: 08:00:00 (no yr); 
Removed `.listing'.
The sizes do not match (local 2185627) -- retrieving.

--13:48:45--  ftp://sunsite.dk/disk1/gnu/wget/wget-1.8.1.tar.gz
           => `wget-1.8.1.tar.gz'
==> CWD not required.
==> PORT ... Master socket fd 4 bound.

--> PORT 192,168,1,131,13,224

200 PORT command successful.
done.    ==> REST 2185627 ... 
--> REST 2185627

350 Restarting at 2185627. Send STORE or RETRIEVE to initiate transfer.
done.    
==> RETR wget-1.8.1.tar.gz ... 
--> RETR wget-1.8.1.tar.gz

150 Opening BINARY mode data connection for wget-1.8.1.tar.gz
(4293879449 bytes).
done.
Lying FTP server found, adjusting.
Created socket fd 5.
Length: 1,097,780 [-1,087,847 to go]

assertion "percentage <= 100" failed: file
"/home/hack/projects/cygwin-wget/wget-1.8.1/src/progress.c", line 552
Aborted (core dumped)


> 
> Thanks
> 
> Steven
> --
> --------------------------------------------------
> ----- Steven Enderle ----- m d n Huebner GmbH ----
> ----- [EMAIL PROTECTED] ----- + 49 911 93 90 90 -----
> -----  Digital Imaging & Documentmanagment   -----
> --------------------------------------------------

-- 
Med venlig hilsen / Kind regards

Hack Kampbj�rn

Reply via email to