Download of files that are larger than 65535 Bytes (63,9K)

2004-04-27 Thread Oleg Rostanin
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]


Re: Download of files that are larger than 65535 Bytes (63,9K)

2004-04-27 Thread Oleg Rostanin
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]


Re: Download of files that are larger than 65535 Bytes (63,9K)

2004-04-27 Thread Oleg Rostanin
I use version SLIDE_2_0_RELEASE_BRANCH_RC1_RELEASE

together with sources of the jakarta commons utilities

version HTTPCLIENT_2_0_BRANCH

Oleg



Oliver Zeigermann wrote:

As said before, please specify which Client version you use.

Oliver

Oleg Rostanin wrote:

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]
.



-
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]


Re: Download of files that are larger than 65535 Bytes (63,9K)

2004-04-27 Thread Oleg Rostanin
Yes, it is correct

Ryan Rhodes wrote:

It sounds like you are using MySQL as your content store.  Is that 
correct?


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/mlbpgmarket=en-us/go/onm00200439ave/direct/01/ 



-
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]