Hello,
I'm using CKFinder for ASP. I have followed the instructions at -
http://docs.fckeditor.net/CKFinder/Deve ... s/Built-in
to no avail, and it doesn't work. After trying to upload a file of approximately 1.74MB, I get the following error :
"Invalid file. The file size is too big."
I'd like to set the maxSize to 10MB. Considering the original value was 0, I'm struggling to work out how to write 10MB. So far I have tried -
"10M"
"10MB"
10485760
"10485760"
all of which produce the same error, "Invalid file. The file size is too big."
How should I be writing 10MB?
this is my extract of config.asp -
Set ResourceTypes(0) = DefineResourceType( _
"Files", _
baseUrl & "docs/uploaded", _
baseDir & "docs/uploaded", _
"10485760", _
"7z,aiff,asf,avi,bmp,csv,doc,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,zip", _
"" _
)
Any help is greatly appreciated.
Kind regards
Dave
Wed, 06/11/2008 - 13:20
#1
Re: maxSize value ignored in ASP
To fix it, you can open the core/connectors/asp/commandHandler/fileUpload.asp and initialize the MaxSize to 0 (around line 75)
Thanks for letting us know, it will be fixed in the next version.
Re: maxSize value ignored in ASP
Hi Alfonsoml,
Yep, that appears to have worked - thanks!
What error message should I expect if things timeout? I've set my maxSize to "10M" and tried to upload a 7MB PDF document. After a few minutes nothing has happened. I'm running FireFox 2. The "Sending request to www.mydomain.com... message in the status bar disappears and is replaced with "Done", yet it still says, "Select the file to upload (Upload in progress, please wait...)" next to the "browse..." button. Is CKFinder programmed to display a timeout message, or do I need to increase the timeout somewhere?
Any help is greatly appreciated.
Kind regards
Dave
Re: maxSize value ignored in ASP
Re: maxSize value ignored in ASP
I have exactly the same problem as you.
I cannot upload files larger then 1MB with CKFinder and ASP.
I hope they can fix it in the next version!
I tried also to edit the config.asp file to increase the upload limit, but i still get the message: file size is to big!
Greetz, Arnout82
Re: maxSize value ignored in ASP
Did you make this change: viewtopic.php?f=10&t=10030#p26375 ?
Re: maxSize value ignored in ASP
We're using the latest version of CKFinder in ASP.
What is the biggest file size possible to upload?
We are an advertising agency, and creative peolpe produces image files with 1Gb !
Tks,
Vagner
Re: maxSize value ignored in ASP
Anyway, the best way to test what are the limits on your server is to try it. I don't remember the maximum size that I've tested because anything over 100Mb is just too much for a normal connection, but it also depends on how is configured the server and its hardware.
Re: maxSize value ignored in ASP
Hi Alfonso,
Tks.
Actually we have a very good (Gigabit) connection. Our clients are in the same network that our servers.
If the component that CKFinder use won't be able to do this, we will need to modify the cor codes to integrate with SA FileUp (that we also have bought here).
Tks,
Vagner
Re: maxSize value ignored in ASP
As I said, the first step would be to test how it works in your server. In my little machine testing with just 150mb takes a very long time, so I know that I can't use this system for big things. If your tests also show that it doesn't work properly i can try to get a demo of that component and adjust the core to provide such option
Re: maxSize value ignored in ASP
Ok alfonso,
I'll make some tests and tomorrow post a new message here with the results.
Tks,
Vagner
Re: maxSize value ignored in ASP
Hi Alfonso,
unfortunely, our tests were unsuccesful..
Unless is possible to change the upload component (asp code) for SA FileUp, we will not be able to use CKFinder
Please keep me informed if you develop this upgrade to CKFinder.
Tks,
Vagner