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));







--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Issue-with-Range-tp6379547p6379547.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2740795

Reply via email to