You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Oleg Rostanin <ro...@dfki.uni-kl.de> on 2004/04/27 16:44:01 UTC
Download of files that are larger than 65535 Bytes (63,9K)
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: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Download of files that are larger than 65535 Bytes (63,9K)
Posted by Oleg Rostanin <ro...@dfki.uni-kl.de>.
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: slide-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
>>
>> .
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Download of files that are larger than 65535 Bytes (63,9K)
Posted by Oliver Zeigermann <oz...@c1-fse.de>.
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: slide-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
> .
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Download of files that are larger than 65535 Bytes (63,9K)
Posted by Oleg Rostanin <ro...@dfki.uni-kl.de>.
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: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org