FAQ
Q. Is it free?
A. Yes, Roxy Fileman is open source and absolutely free.
Q. Can I use Roxy Fileman with ASP .NET?
A. Yes, Roxy Fileman has free ASP .NET file manager distribution.
Q. Which versions of .NET framework are supported.
A. Minimum .NET framework 4.5 is required. However it could be esealy modified to run on .NET 2+. DownloadDir() method body and all references to ZipFile should be commented, and of course web.config should de changed accordingly.
Q. Which PHP versions are supported?
A. PHP 5.2 or greater with GD library installed. You could use PHP 5 < 5.2, but folder download as zip file will not be available.
Q. What about the license?
A. Roxy Fileman 1.x is released under GPL v3 license. See license page for details.
Q. Can I use it with Apache / PHP?
A. Yes, Fileman file manager is ready for use with Apache and PHP.
Q. Can I translate the user interface into other languages?
A. Yes, language resource files are located in fileman/lang directory. Copy english file "en.json" to XX.json (XX is you new language two letter code), open newly created file and translate it.
Q. Which browsers are supported?
A. Fileman is based on JQuery and has the same browser support. See JQuery support page for more details.
Q. Can I change the dimensions of the images in the thumbnail view?
A. Yes, there are settings for both images in the thumbnail view and image preview tooltip. See installation and configuration.
Q. Is it possible change the FILES_ROOT dynamically?
A. Yes, it could be set in session variable. See SESSION_PATH_KEY setting description in configuration section.
Q. I get "error loading asp_net/main.ashx" or "error loading php/dirtree.php", what could be the problem?
A. Try to open the file (e.g. http://your-domain.com/fileman/php/dirtree.php) in a web browser and see are there any errors. Developer tools could be used to see the raw server response. Check your web server configuration, directory permissions etc.
Q. Some files cannot be uploaded, what's wrong?
A. Check post and upload size limits, directory permissions etc. Check if the file extension is listed in FORBIDDEN_UPLOADS setting. When uploading images, GD library is used for resiziing, make sure it is available.
Q. Can I use Roxy Fileman with Java, Pythonq Ruby or Perl?
A. Currently only PHP and .NET versions are available for download. However server side handlers could be easily translated into any programming language. See the API page for details.
Q. How to add domain name to the file path, when using Fileman with CKEditor?
A. Using RETURN_URL_PREFIX setting, URL returned by Fileman could be prefixed with domain name or whatever you need.
|
Please see the FAQ page before ask a question.
I don’t review comments very often, and I will NOT answer the questions asked here, please use the contact form.
L. Arsov
recent updates, so where can i do it please help.
https://youbestkratom.buzz/cbd-oil-for-sale-in-nj.html» target=»_blank»>https://youbestkratom.buzz/cbd-oil-for-sale-in-nj.html
kratom tea dosage
https://youbestkratom.buzz/cbd-oil-for-sale-in-nj.html» target=»_blank»>https://youbestkratom.buzz/cbd-oil-for-sale-in-nj.html
kratom tea dosage
protected void DownloadFile(string path)
{
try
{
CheckPath(path);
FileInfo file = new FileInfo(FixPath(path));
if(file.Exists)
{
_r.Clear();
_r.Headers.Add("Content-Disposition", "attachment; filename=\"" + file.Name + "\"");
_r.ContentType = "application/force-download";
_r.TransmitFile(file.FullName);
_r.Flush();
_r.End();
}
}
catch (Exception ex) { throw; }
finally {
//Sends the response buffer
HttpContext.Current.Response.Flush();
// Prevents any other content from being sent to the browser
HttpContext.Current.Response.SuppressContent = true;
//Directs the thread to finish, bypassing additional processing
HttpContext.Current.ApplicationInstance.CompleteRequest();
}
}
could be fixed to show the right dimensions 200×200?
E_LoadingAjax /api/RoxyFileman/DIRLIST
can you plane to support that or you are not
info ended up being truly simple to do to access. I recently found what
I hoped for before you know it in the least. Nice task. www.beton-mixer.com
www.aromesduvin.com
The Important feature that I think It must add to roxyfileman is `pagination ` . Please add this feature to Roxyfileman .
thanks for all .
Original:
protected string GetFileType(string ext){
string ret = "file";
ext = ext.ToLower();
if (ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".gif")
ret = "image";
else if (ext == ".swf" || ext == ".flv")
ret = "flash";
return ret;
}
Modified:
protected string GetFileType(string ext){
string ret = "file";
ext = ext.ToLower();
if (ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".gif")
ret = "image";
else if (ext == ".swf" || ext == ".flv")
ret = "flash";
else if (ext == ".mp4")
ret = "media";
return ret;
}
require_once «Zend/Session.php»;
require_once «Zend/Session/SaveHandler/DbTable.php»;
require_once «Zend/Db/Table.php»;
require_once «Zend/Config/Ini.php»;
$config = new Zend_Config_Ini(«../../../../../application/configs/application.ini», «production»);
$host = $config->resources->db->params->host;
$username = $config->resources->db->params->username;
$password = $config->resources->db->params->password;
$dbname = $config->resources->db->params->dbname;
$db = Zend_Db::factory(«Pdo_Mysql», array(
«host» => $host,
«username» => $username,
«password» => $password,
«dbname» => $dbname,
«port» => «3306»
));
Zend_Db_Table_Abstract::setDefaultAdapter($db);
$config = array(
«name» => «session»,
«primary» => «id»,
«modifiedColumn» => «modified»,
«dataColumn» => «data»,
«lifetimeColumn» => «lifetime»
);
Zend_Session::setSaveHandler(new Zend_Session_SaveHandler_DbTable($config));
Zend_Session::start();
$ret = $_SESSION["image_browser_url"];
For Zend width Zend_Session_SaveHandler_DbTable
Add my integration with Node.js please! :D
https://github.com/jdnichollsc/Roxy-Fileman-for-Node.js
Regards, Nicholls
when i uplaod a png then the background turns from transparent to black … what can i do?
please enlightenment?
* Sorry I do not speak english I am from Indonesia.
I don’t want Dirs in root folders, how can I do that
For exemple if I click on a root folder, it should show its files and its folders in the right field (pnlFileList).
Thank you
from:
elseif(count(glob(fixPath($path)."/*")))
to
elseif(count(glob(fixPath($path)."/*"))-1)
i guess, that it counts ".", or ".." on linux
is there a way to filter files extensions to display or not display via conf.json or other ?
For example I wouldn’t like to display Thumbs.db files or files terminated by .xml.
How can I exclude those files ?
Thanks for your help.
Is there any way to bind File Upload Control to Roxy File manager in asp.net mvc?
I am new to use Roxy Fileman in .Net.
I want it to be use in both CK editor as well as the Custom Button to upload the Document Files.
In Ckeditor it works without any probs, while in the custom way, the dialog gets open, I browse the file to be uploaded but after i click on upload button nothing shows in the list.
While the file gets successfully uploaded in the uploads folder(physically i can find the file), but doesn’t gets displayed in the list hence i can’t select that file.
I debug and found that the file is "pdf" type and at the time of listing its querying as "files" type.
Kindly help me out to update the file type based on the uploaded file.
Platform is Nopcommerce 3.40
Regards
May I know the fileman can uploading files to virtual directory or not?
Problem here, our virtual directory is a shared folder in cluster environment. I am able to read the server path but unable to upload, view and delete.
Anyone here can modify the code to allow absolute path to be enabled.
Thank you
Cannot delete – folder is not empty
modified line 95 in the function.inc.php file from this
$ret = RoxyFile::FixPath(BASE_PATH.’/Uploads»);
to this
$ret = RoxyFile::FixPath(BASE_PATH);
A made this modification int the conf.json file:
"FILES_ROOT": "files",
"RETURN_URL_PREFIX": "/",
I tried "FILES_ROOT":"/files" but it did not work.
«Change Integration setting in conf.js»
I don’t know what needs to be change in json file.
so Please guide me how to configure the json file
"error loading php/dirtree.php"
I just re-uploaded the entire "fileman" folder and it worked. Seems like there was some missing files.
at file main.ashx
//cropImg.GetThumbnailImage(width, height, imgCallback, IntPtr.Zero).Save(_r.OutputStream, ImageFormat.Png);
//_r.OutputStream.Close();
//cropImg.Dispose();
using (MemoryStream ms = new MemoryStream()) {
cropImg.GetThumbnailImage(width, height, imgCallback, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
ms.WriteTo(_r.OutputStream);
// cropImg.GetThumbnailImage(width, height, imgCallback, IntPtr.Zero).Save(_r.OutputStream, ImageFormat.Png);
cropImg.Dispose();
}
I hope it help you.
because I am using fileman as in such folder like:
admin/fileman/
but I want to see and add photos to :
admin/upload/ folder. can anyone help me with that ??
I would suggest:
1 – either to allow a session parameter (like whats has been done for FILES_ROOT parameter which can be dynamically overwritten with a session parameter specicied in SESSION_PATH_KEY)
2 – either to modify the way RETURN_URL_PREFIX parameter works by making it a boolean flag: if set then the full prefix should be returned, which requires a very small code change in line 700-701 and 801-802 of main.js which should be:
if(RoxyFilemanConf.RETURN_URL_PREFIX){
var prefix = location.protocol+’//’+location.hostname;
instead of:
if(RoxyFilemanConf.RETURN_URL_PREFIX){
var prefix = RoxyFilemanConf.RETURN_URL_PREFIX;
Regards
how to select multiple files to insert in ckeditor?
I use the solution from Anders, it work for me.
Thank you Anders.
you answered Alberto’s question like so: "for error E_LoadingConf
E_ActionDisabled Error loading language file you must define json mime type on your server ". I am having the same difficulty, however – the json mime type IS defined on my server in .htaccess like so "AddType MIMETYPE .json". I am on an Apache server running PHP 5.3.2.0. So – how do I get past this loading conflict?
For those who might have problems uploading files using IE, meaning that these error messages are showing up everytime:
– "Could not fine part of the path «<path>’"
OR
– "Access to the path «<path>» is denied."
Check your IE settings:
The IE security setting «Include local directory path when uploading files to a server» should be DISABLED.
After setting that option, everything should work just fine!
I need to use (I guess) the UNC path (\\servername\Folder\Pictures). How can I do that?
Is anyone having the same problem uploading file with Internet Explorer??
Checking the network flow..there is:
FF and Chrome: filename="Picture.jpg"
IE: filename="Y:\Documents\Pics\Picturejpg"
So I’m guessing the problem is that IE take the whole path while it’s supposed to get the filename only..
What should I do to make it work in IE??
Please HELP!!!
– "Could not fine part of the path «C:UsersSarahDesktopPicture1.png’"
– "Access to the path «C:UsersSarahDesktopPicture1png» is denied."
As Anders said previously, I added the following lines inside ProcessRequest method in main.ashx:
context.Response.AddHeader("Cache-Control", "no-cache");
context.Response.Expires = 0;
context.Response.Cache.SetNoStore();
context.Response.AddHeader("Pragma", "no-cache");
But nothing changed..I don’t know what to do…
I use php and did not understand how to do
eu uso php e nao entendi como fazer
I also can’t see the preview of my files..is it due to the fact that my file folders stands on a server?
I can’t download files when I link them..I get 404 error..what should I do to solve this?
As Anders said previously, I added the following lines inside ProcessRequest method in main.ashx:
context.Response.AddHeader("Cache-Control", "no-cache");
context.Response.Expires = 0;
context.Response.Cache.SetNoStore();
context.Response.AddHeader("Pragma", "no-cache");
But when I try to add a file I get this error message: "Could not find a part of the path «Y:Documents/Pics.jpg»."
Please help me to get this solved…it works perfectly on Firefox but I’m supposed to have the same result on IE..
i have problem. when i select file , dosent work and file dont send for ckeditor.
the tools call FileSelected from costum.js file.
do you have any help?
Original (line 118):
RoxyUtils.GetFileIcon = function(path){
ret = «images/filetypes/file_extension_» + RoxyUtils.GetFileExt(path).toLowerCase() + «.png»;
if(!fileTypeIcons[RoxyUtils.GetFileExt(path).toLowerCase()]){
ret = «images/filetypes/unknown.png»;
}
return ret;
};
Modified:
RoxyUtils.GetFileIcon = function(path){
if(!fileTypeIcons[RoxyUtils.GetFileExt(path).toLowerCase()]){
ret = «images/filetypes/unknown.png»;
} else {
ret = «images/filetypes/» + fileTypeIcons[RoxyUtils.GetFileExt(path)];
}
return ret;
};
This allows you to do this in filetypes.js:
fileTypeIcons[«doc»] = «file_extension_doc.png»;
fileTypeIcons[«docx»] = «file_extension_doc.png»;
fileTypeIcons[«xls»] = «file_extension_xls.png»;
fileTypeIcons[«xlsx»] = «file_extension_xls.png»;
Note the use of the same image for two file types.
The original code totally ignores whats in the setting in filetypes.js and would return an image name in the format of file_extension_FILEEXTENSION.png.
The change tells fileman to use the actual contents of fileTypeIcons[«docx»] as the image name.
—-
Also, to prevent IE from caching the calls to main.ashx, I added the following lines to the ProcessRequest() service sub right after _r is set:
//Turn off caching for stupid IE
_r.ExpiresAbsolute=DateTime.Now.AddDays(-1d);
_r.Expires =-1500;
_r.CacheControl = "private";
_r.CacheControl = "no-cache";
_r.AddHeader("Pragma", "no-cache");
_r.AddHeader("Pragma", "no-store");
_r.AddHeader("cache-control", "no-cache");
_r.Cache.SetCacheability(HttpCacheability.NoCache);
_r.Cache.SetNoServerCaching();
In main.ashx add the follwing lines of code into ProcessRequest. They should be the first lines in that.
context.Response.AddHeader("Cache-Control", "no-cache");
context.Response.Expires = 0;
context.Response.Cache.SetNoStore();
context.Response.AddHeader("Pragma", "no-cache");
This might cause a bit more requests for the server but it solves the problem.
I’m also using the .NET integration.
It’s ok to upload files and the files get saved on the server but the filelist doesn’t update properly until you clear the cache in the browser.
Also when deleting files and then reselecting the folder the file gets back into the list.
Thanks
But just 1 point that I encounter is when i use IE11 as a browser, I found that when file has uploaded to server but no file show in file list.
I already checked the uploads folder, it already have uploaded-file.
My question is:
– this is a bug in IE11 or
– I miss something in configuration of Roxy Fileman.
can i use roxy to connect to diffrent servers using FTP ?
i install it on main system, that manage diffrent ftp accounts
function addFile() {
clickFirstOnEnter(«dlgAddFile»);
var dialogButtons = {};
dialogButtons[t(«Upload»)] = function () {
var maxtotal = RoxyFilemanConf.MAXTOTAL;
var maxfilesize = RoxyFilemanConf.MAXFILESIZE;
var fileoversize = "";
var totalsize = 0;
if (!$(«#fileUploads»).val())
alert(t(«E_SelectFiles»));
else {
if (!RoxyFilemanConf.UPLOAD) {
alert(t(«E_ActionDisabled»));
//$(«#dlgAddFile»).dialog(«close»);
}
else {
var files = $(«#fileUploads»)[0].files;
for (var i = 0; i < files.length; i++) {
//alert(files[i].name);
totalsize += files[i].size;
if ((files[i].size / 1024) > maxfilesize) {
fileoversize = files[i].name + «\n»;
}
}
if ((totalsize / 1024 / 1024) > maxtotal) {
alert(t(«E_MAXSIZE») + ". Set to " + maxsize + "MB.");
}
else if (fileoversize != "") {
alert("Max total upload : "+ maxfilesize +"KB. Oversized files:\n" + fileoversize);
}
else {
document.forms[«addfile»].action = RoxyFilemanConf.UPLOAD;
document.forms[«addfile»].submit();
}
}
}
};
dialogButtons[t(«Cancel»)] = function () { $(«#dlgAddFile»).dialog(«close»); };
$(«#dlgAddFile»).dialog({ title: t(«T_AddFile»), modal: true, buttons: dialogButtons });
}
Adding 2 variables to conf.json
MAXTOTAL and MAXFILESIZE. This is using dev.html page (main.js).
"The path must be absolute from your site root!"
paint that thing in red or green or whatever xD I’m used to work with relative paths inside web apps…
I integrated Roxy Fileman with CKEditor in my ASP.Net MVC project and everything work fine.
But just 1 point that I encounter is when i use IE11 as a browser, I found that when file has uploaded to server but no file show in file list.
I already checked the uploads folder, it already have uploaded-file.
My question is:
– this is a bug in IE11 or
– I miss something in configuration of Roxy Fileman.
My project environments:
– .Net Framework 4.5
– MVC 4
– jQuery 2.1.0
– CKEditor 4.4.3
Thank you.
for error E_LoadingConf
E_ActionDisabled
Error loading language file you must define json mime type on your server
I have checked the php ini and it is ok, is enabled
This is my php ini configuration (from phpinfo)
Multibyte Support enabled
Multibyte string engine libmbfl
HTTP input encoding translation enabled
mbstring.detect_order auto auto
mbstring.encoding_translation On On
mbstring.func_overload 0 0
mbstring.http_input auto auto
mbstring.http_output UTF-8 UTF-8
mbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml)
mbstring.internal_encoding UTF-8 UTF-8
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value
please help: I receive some pop up error:
E_LoadingConf
E_ActionDisabled
Error loading language file
Can you tell me how to solve ?
Regards
You need to recompile php with –enable-mbstring option.
I created a session variable and assigned a path to it, however it doesn’t override the root (or add to it), I’ve tried both
It is a Great plugin to tinymce.
So, I have one question about plugins.
It is possible change the FILES_ROOT dynamically?
Because my project has several rootfolders.
Add comment