You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2004/04/27 15:02:53 UTC

DO NOT REPLY [Bug 28625] New: - getMethod does not support files larger than 65535 Bytes

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: slide-dev@jakarta.apache.org
        ReportedBy: rostanin@dfki.uni-kl.de


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: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 28625] New: - getMethod does not support files larger than 65535 Bytes

Posted by Oliver Zeigermann <oz...@c1-fse.de>.
What release are you referring to? Or is this on the HEAD branch?

Oliver

bugzilla@apache.org 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: slide-dev@jakarta.apache.org
>         ReportedBy: rostanin@dfki.uni-kl.de
> 
> 
> 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: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 
> .
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org