I'm using the CKFinder 2.0.2.1 (Demo) and Java.
Strange things happens when I try to edit or download a "larger" file.
It looks like CKFinder adds extra content to the file (the content is read from some other part of the document)
See the image:
I can't attached the file, but you can make a simple .txt file with lorum ipsum text. the problem occurs on every "larger" (larger than certain kb's), so even CSS and HTML
Thu, 08/11/2011 - 12:38
#1
Re: Extra content added when download or edit
In the next version of CKFinder we will provided an updated version of the editor. If you'd like to get earlier a development snapshot with that issue fixed, please send me a PM.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Extra content added when download or edit
Dear Wiktor,
I'm just implemented the new Ckfinder 2.1 but the problem still occurs. I tried it with IE8 , FF8 and Chrome 15. Do you need more information so you can solve this issue easier? I think is has something to do with the following code in com.ckfinder.connector.utils.FileUtils:
MAX_BUFFER_SIZE is set static to 1024 and the problem occurs when I have a document bigger than 1024 bytes
Please let me know if I can work together with you to improve the CKFINDER. Is there a SVN project where I can participate?
I think the while needs to be changed to: