Greetings, all...
I poked around quite a bit so far and have followed as many of the posts as I can to no avail. I've cleared my browser cache, I've verified that I have permissions to the folder, and I've tinkered around with my config.ascx file and fckconfig.js files in hopes of being able to upload a file other than an image or a flash resource - both of those seem to work fine.
Here's a snip of my fckconfig.js file:
As you can see, I've got the world opened up for Links (both doc and pdf are allowed, nothing is denied).
Moving on to the config.ascx file, here's the settings for TypeConfig["File"]
Again, both doc and pdf exist in the AllowedExtensions and I've removed everything from the DeniedExtensions.
I would really like some help on this as I'm completely baffled at this point. Like I said, I think I've done everything suggested in other posts, but maybe I can't see the tree for the forest because I've been looking at this so long.
Thanks in advance,
Ric
I poked around quite a bit so far and have followed as many of the posts as I can to no avail. I've cleared my browser cache, I've verified that I have permissions to the folder, and I've tinkered around with my config.ascx file and fckconfig.js files in hopes of being able to upload a file other than an image or a flash resource - both of those seem to work fine.
Here's a snip of my fckconfig.js file:
var _FileBrowserLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py var _QuickUploadLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py // Don't care about the following two lines. It just calculates the correct connector // extension to use for the default File Browser (Perl uses "cgi"). var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ; FCKConfig.LinkBrowser = true ; FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% FCKConfig.ImageBrowser = true ; FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ; FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ; FCKConfig.FlashBrowser = true ; FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; FCKConfig.LinkUpload = true ; FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ; FCKConfig.LinkUploadAllowedExtensions = ".(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|xml|zip)$" ; // empty for all FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one
As you can see, I've got the world opened up for Links (both doc and pdf are allowed, nothing is denied).
Moving on to the config.ascx file, here's the settings for TypeConfig["File"]
// Allowed Resource Types AllowedTypes = new string[] { "File", "Image", "Flash", "Media" }; // For security, HTML is allowed in the first Kb of data for files having the // following extensions only. HtmlExtensions = new string[] { "html", "htm", "xml", "xsd", "txt", "js" }; TypeConfig["File"].AllowedExtensions = new string[] { "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", "xml", "zip" }; //TypeConfig["File"].DeniedExtensions = new string[] { "exe" }; TypeConfig["File"].DeniedExtensions = new string[] { }; TypeConfig["File"].FilesPath = "%UserFilesPath%file/"; TypeConfig["File"].FilesAbsolutePath = (UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%file/"); TypeConfig["File"].QuickUploadPath = "%UserFilesPath%"; TypeConfig["File"].QuickUploadAbsolutePath = (UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%");
Again, both doc and pdf exist in the AllowedExtensions and I've removed everything from the DeniedExtensions.
I would really like some help on this as I'm completely baffled at this point. Like I said, I think I've done everything suggested in other posts, but maybe I can't see the tree for the forest because I've been looking at this so long.
Thanks in advance,
Ric
Hi
Hi
Have you got any solution for the same.
I have also faced the same issue. It would be great help for me to come to solution.
Thanks
Sachin