Hi
I have just tried to upload a 2.9MB .flv file using ckfinder, I get the error
Invalid file. The file size is too big.
I am sure that IIS is setup to accept files up to 20MB
So is the problem in the code below, I dont know how to edit the code below to ensure it will allow say up to 8MB.
Also if a flash .flv file is uploaded to the fck editor using ckfinder, how does it display on the webpage???
Thanks, James
'maxSize is defined in bytes, but shorthand notation may be also used.
'Available options are: G, M, K (case insensitive).
'1M equals 1048576 bytes (one Megabyte), 1K equals 1024 bytes (one Kilobyte), 1G equals one Gigabyte.
'Example: 'maxSize' => "8M",
CKFinder_Config.Add "DefaultResourceTypes", ""
'Change the number to match the number of resource types that you want to use minus one (it starts at 0)
Dim ResourceTypes(2)
Set ResourceTypes(0) = DefineResourceType( _
"Files", _
baseUrl & "file", _
baseDir & "file", _
0, _
"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", _
"" _
)
Set ResourceTypes(1) = DefineResourceType( _
"Images", _
baseUrl & "image", _
baseDir & "image", _
0, _
"bmp,gif,jpeg,jpg,png", _
"" _
)
Set ResourceTypes(2) = DefineResourceType( _
"Flash", _
baseUrl & "flash", _
baseDir & "flash", _
0, _
"swf,flv", _
"" _
)
'Remember to increase the index for each new resource type that you add.
I have just tried to upload a 2.9MB .flv file using ckfinder, I get the error
Invalid file. The file size is too big.
I am sure that IIS is setup to accept files up to 20MB
So is the problem in the code below, I dont know how to edit the code below to ensure it will allow say up to 8MB.
Also if a flash .flv file is uploaded to the fck editor using ckfinder, how does it display on the webpage???
Thanks, James
'maxSize is defined in bytes, but shorthand notation may be also used.
'Available options are: G, M, K (case insensitive).
'1M equals 1048576 bytes (one Megabyte), 1K equals 1024 bytes (one Kilobyte), 1G equals one Gigabyte.
'Example: 'maxSize' => "8M",
CKFinder_Config.Add "DefaultResourceTypes", ""
'Change the number to match the number of resource types that you want to use minus one (it starts at 0)
Dim ResourceTypes(2)
Set ResourceTypes(0) = DefineResourceType( _
"Files", _
baseUrl & "file", _
baseDir & "file", _
0, _
"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", _
"" _
)
Set ResourceTypes(1) = DefineResourceType( _
"Images", _
baseUrl & "image", _
baseDir & "image", _
0, _
"bmp,gif,jpeg,jpg,png", _
"" _
)
Set ResourceTypes(2) = DefineResourceType( _
"Flash", _
baseUrl & "flash", _
baseDir & "flash", _
0, _
"swf,flv", _
"" _
)
'Remember to increase the index for each new resource type that you add.
Re: Unsure how to set MaxSize for .flv file in config.asp
That configuration doesn't specify any size limit, so if your server is really configured correctly you should be able to upload any file.
Check the configuration with this script: viewtopic.php?f=10&t=13604
About flv: you'll need to use a flv player, browsers doesn't know how to handle a flv (yes, allowing to upload flv in the flash type is highly misleading, and I've already stated my opinion against that)
Re: Unsure how to set MaxSize for .flv file in config.asp
Have you tried the wizard that I suggested?
Did it help to find out the problem
Regards