Re: console return code problem

From: Stefan Kaczmarek <stefan_at_thezonie.org>
Date: Fri, 27 Apr 2007 14:25:15 -0700

You assume correctly.

On Apr 27, 2007, at 2:19 PM, Ivan Kwok wrote:

> BTW, I assume there is no connection limitation in console like the
> app
> is doing it to avoid the XP SP2 issue right?
>
> -Ivan
>
>
> -----Original Message-----
> From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
> Sent: Friday, April 27, 2007 1:49 PM
> To: Ivan Kwok
> Cc: Ben Ebert; Ty Heath; Jay Mairs; Sergio Alvarez; Dylan Douglas
> Subject: Re: console return code problem
>
> Ok, new jar is up there.
>
> Basically it's a situation of the file having a size of 0 bytes. That
> is an error condition, but it is also a "Done" condition because
> bytes downloaded == file size. It was basically a race to see which
> error got handled first.
>
> I changed it now to only think it is "Done" if the file size is > 0,
> so now it will return 2 all the time.
>
> - Z
>
> On Apr 27, 2007, at 11:17 AM, Ivan Kwok wrote:
>
>> Zonie, the console returns 0 sometime even when there is no source to
>> download. Try this:
>> java -jar console.jar hash=E9CA3E1A3E18E388F6761CACE9D3FF8566856744
>> mb=20
>>
>> It will return 0 the first time, and 2 the second time and 0 again
>> the
>> third time...etc you get the idea =P
>>
>> -Ivan
>>
>>
>> -----Original Message-----
>> From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
>> Sent: Friday, April 27, 2007 8:27 AM
>> To: Ivan Kwok; Ben Ebert; Ty Heath; Jay Mairs; Sergio Alvarez; Dylan
>> Douglas
>> Subject: New Applet
>>
>> Okay, so i re-built the applet in Java 1.5 and put it up there. Now
>> see if it works on Jay's Mac and Randy's computer.
>>
>> - Z
>
Received on Fri Sep 14 2007 - 10:55:55 BST

This archive was generated by hypermail 2.2.0 : Sun Sep 16 2007 - 22:19:46 BST