Bug 28625 - getMethod does not support files larger than 65535 Bytes
Summary: getMethod does not support files larger than 65535 Bytes
Status: NEW
Alias: None
Product: Slide
Classification: Unclassified
Component: WebDAV client (show other bugs)
Version: 2.0
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-27 13:02 UTC by Oleg Rostanin
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Rostanin 2004-04-27 13:02:52 UTC
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?