Hi Tom, the value 3.980.273.410 is too big for an int, which works from -2.147.483.648 until 2.147.483.647. Where does this value comes from? Could you reduce the number of this value? If not, than I think the only solution is to change the type of the variable from int to long. If this is also not possibe, than you have bad luck :-( .
best regards Stephan -----Ursprüngliche Nachricht----- Von: TKM <t...@jamfsoftware.com> Betreff: Issue with Range >I'm using Directory to share files, but i would also like to allow aborted >transfers to restart. Both server and client are Restlet implementations >that rely on streams for the transfer. I added Range to the ClientResource >and started to get the message: Internal Connector Error (1002) - For input >string: "3980273410". When i look at catalina.log, i see >java.lang.NumberFormatException: For input string: "3980273410". So, i'm >guessing that i can't use -1 as the Range size? so the following is goofy? > >ClientResource resource = new ClientResource(restRequest); >resource.getRanges().add(new Range(range, Range.SIZE_MAX)); ___________________________________________________________ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2741405