From: Oleg Rostanin <[EMAIL PROTECTED]> Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]> To: Slide Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Download of files that are larger than 65535 Bytes (63,9K) Date: Tue, 27 Apr 2004 16:46:08 +0200
I have checked the Slide servlet with another client (DAVExplorer). It works correctly.
It means the reason must be hiding somwhere in webdav API
Oleg Rostanin wrote:
Hello everyone,
I'm writing a universal module for UP/Downloading files to/from WebDAV repositories.
I have encountered the strange problem that only files with the size up to 65535 Bytes are uploaded/downloaded correctly.
If a file is larger that only the first 65535 Bytes are uploaded or downloaded.
import org.apache.webdav.lib.*;
public void downloadDocument(WebdavResource resource, File localFile) throws Exception
{
if(!resource.isCollection())
{
resource.getMethod(localFile);
}
}
can anybody help me?
Best, Oleg Rostanin
--------------------------------------------------------------------- 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]
_________________________________________________________________
Watch LIVE baseball games on your computer with MLB.TV, included with MSN Premium! http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
