Re: Download of files that are larger than 65535 Bytes (63,9K)
Hey!, super, it works really! Thanx a lot. Oleg Ryan Rhodes wrote: I was intending to put something detailed together on this. The problem is with MySQL 4.0. It only allows BLOB's up to 64k. I have searched everywhere on MySQL lists and could not confirm this, but you will notice that you can't even upload a file greater than 64k using phpmyadmin. I don't know if this is a phpmyadmin problem (I created the tables with phpmyadmin in the first place), a mysql driver problem, or just a problem with 4.0 that has been fixed in 4.x > 0. I can't imagine 64k is the correct max for blobs for such a popular database. The solution I used was to change the type of the CONTENT column in the VERSION_CONTENT table from BLOB to LONGBLOB. I can no longer browse this table with phpmyadmin (bug???), but I have tested upload/download with 100 Meg files. Apparently, changing the type to LONGBLOB will break PROPPATCH requests. Stuart MacPherson posted a patch for this sometime back. I have not tested for the problem or applied the patch. I don't think the patch or the change to the table structure ever got into the Slide codebase. --hope this helps Ryan Rhodes 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 17:07:42 +0200 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/mlb&pgmarket=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] _ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.com/go/onm00200415ave/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]
Re: Problem with getChildResources, ports and httpurl
Hello, I encountered the same problem. I have solved it by downloading the 2_0 BRANCH of the jakarta.common utilities as sources and compiling it. I use now this version of the utilities and the problem was gone. Oleg Carlos Villegas wrote: J H wrote: Unfortunately, the infinite folder problem is still here. Since I just skimmed over the problem earlier, what I am seeing is that collections that have any odd characters, such as '&', ',' and '.', always return themselves in the getChildResources or listWebdavResources and when I am trying to generate a JTree from this it gets a collection back identical to it's parent...and displays it because that is what the webdavResource is returning...has anyone seen this before? Yes, I've seen a similar problem when trying to make Slide work in a japanese locale with MS webfolders. There were encoding problems and the folder names got garbled, probably containing those characters. Then I saw this infinite folder problem. Worst, when I tried to delete the problem folder (which was located in some subfolder under /files), it deleted it everything from the root and up, effectively deleting ALL the data. I haven't checked this with 2.0rc1 so I don't know if the problem is still there. I noticed with a pre 2.0b1 version of the 2.0 branch. Carlos - 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)
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/mlb&pgmarket=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]
Re: Download of files that are larger than 65535 Bytes (63,9K)
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)
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]
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]