What release are you referring to? Or is this on the HEAD branch?

Oliver

[EMAIL PROTECTED] wrote:

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28625>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.


http://issues.apache.org/bugzilla/show_bug.cgi?id=28625

getMethod does not support files larger than 65535 Bytes

           Summary: getMethod does not support files larger than 65535 Bytes
           Product: Slide
           Version: 2.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WebDAV client
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'm using Slide Client API to upload/download files to Apache Slide repository.


public void downloadDocument(WebdavResource resource, File localFile) throws
Exception {
if(!resource.isCollection())
{
resource.getMethod(localFile);
}
}

public void uploadDocument(WebdavResource resource, File localFile) throws
Exception {
if(resource.isCollection())
{
resource.putMethod(resource.getPath()+"/"+localFile.getName(), localFile);
}
}



The strange thing is that files that are larger that 65535 bytes stop downloading by 65535 bytes having been read from the stream.

Then goes a rather long pause after which the result -1 is returned.

Can you please help me?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to