#2489: CKFinder upload limit cannot be changed
-------------------------+--------------------------------------------------
Reporter: arnout82 | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone: CKEditor 3.x
Component: General | Version: FCKeditor 2.6.3
Keywords: **CantFix** |
-------------------------+--------------------------------------------------
I tried to increase the upload limit in the config file of CKFinder. I
want the upload limit to 8M.
I use FCK editor 2.6.x (date 2/13/2008) with ASP and CKFinder 3.x (date
6/25/2008). On the server side i use Windows Server 2003 and IIS 6.0.
This is what i have done:
- In the wwwroot i go to /ckfinder/config.asp
- I change the DefineResourceType declaration from "" to "8M", i also
tried full bytes like: 1024*1024*8= 8388608 and "8388608".
Code look like this:
Set ResourceTypes(0) = DefineResourceType( _
"Files", _
baseUrl & "file", _
baseDir & "file", _
"8M", _
"asf,avi,doc,fla,flv,mov,mp3,mp4,mpeg,mpg,pdf,ppt,ram,rar,rm,rtf,swf,txt,wav,wma,wmv,xls,zip",
_
"" _
)
CKFinder_Config.Add "ResourceType", ResourceTypes
' Helper function to return a dictionary with all the properties.
Function DefineResourceType(name, url, directory, maxSize,
allowedExtensions, deniedExtensions)
Dim ResourceType
Set ResourceType = server.CreateObject("Scripting.Dictionary")
ResourceType.Add "name", name
ResourceType.Add "url", url
ResourceType.Add "directory", directory
ResourceType.Add "maxSize", maxSize
ResourceType.Add "allowedExtensions", allowedExtensions
ResourceType.Add "deniedExtensions", deniedExtensions
Set DefineResourceType = ResourceType
End function
- I have it done like described in the documentation file:
http://docs.fckeditor.net/CKFinder/Developers_Guide/ASP/Configuration/Resource_Types
/Built-in
- But after saving the changes i still cannot upload larger files than 2
MB.
- I tested if i had changed the correct config file so it block some
extension to be sure its the right file. And that workt fine. But upload
limit cannot be changed?
--
Ticket URL: <http://dev.fckeditor.net/ticket/2489>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac