ok here is the answer, in the response the content-length should not be specify, otherwise the client stop the connection automatically when he reaches this size. make a new class FileRepresentation and in the getSize method return Representation.UNKNOWN_SIZE to fulfill the header restlet use this method.
------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2672026