I was wondering if anyone knew how to set up a DELETE and RENAME function within the upload "Browse Server" feature? Is this something someone as done so far?
I stopped working on it, though, to build a totally new file manager - http://kfm.verens.com/, which has quite a few improvements over the FCKeditor one.
Nice work. I'll definitely follow this. No version for ASP? Also, would have any idea why the current FCKeditor image uploader (in the Browse Server) get my server's root confused (htm instead of html)?
no - I wouldn't know. I came across something like that recently in PHP, but that was an sqlite bug. Maybe your ASP version is strippng the rightmost character of the directory name in an effort to remove any superfluous '/' characters, even if there are none?
Kae, thanks for your quick help on this. I am not using ASP right now, but do use it quite a bit at work. I was just checking for availability. I noticed that there were two gentlemen who mentioned that they were going to collaborate on the ASP side (this was mentioned on your forum). Did that happen?
Well, I use PHP primarily. And it is not stripping the '/' characters. If my upload folder is set to '/UserFiles/' (as is the default), then it will upload the files to '/htm/UserFiles/' instead of the root which is '/html/UserFiles/'. FCKeditor is just assuming that the root is in 'htm' but it is in 'html'. Very wierd. And I cannot determine where in the code it gathers the $_SERVER root. Because it seems like a server issue (although Media Temple has denied it). Ideas?
it's been a while since I worked on the original file manager.
this error is probably coming from the GetRootPath() function in editor/filemanager/browser/default/connectors/php/io.php
there is a strange usage of substr() in there, which is not easy to follow. the bug might be in that.
personally, though, I recommend KFM instead
no, there has been no work on the ASP side. I'm not too worried about that, though. When the project hits version 1.0 (which might be in just a few months), I'll work on reducing the PHP functions by refactoring, and ask if anyone wants to give an ASP port a shot. Until that point, though, it is probably useless to port it, as the functionality keeps changing.
I tried the KFM because I prefer it, but it would not work. It gave me a blank page. However the code had a bunch of script in it:
<html>
<head>
<title>KFM - Kae's File Manager</title>
<link rel="stylesheet" href="Text/hilight.css" />
<script type="text/javascript" src="lang/en.js"></script>
<script type="text/javascript" src="kfm.js"></script>
<script type="text/javascript">
var starttype="Image";
var fckroot="/eControl_server/";
var fckrootOutput="/eControl_server/";
var kfm_log_level=0;
var kfm_theme="default";
function x_kfm_changeCaption(){kaejax_do_call("kfm_changeCaption",arguments);} <TRUNCATED THIS CODE> _extensions=["txt","html","css","sql","xhtml","xml","php"];
</script>
<style type="text/css">@import "themes/default/kfm.css";</style>
</head>
<body>
<noscript>KFM relies on JavaScript. Please either turn on JavaScript in your browser, or <a href="<a href="http://www.getfirefox.com/" target="_blank">http://www.getfirefox.com/</a>">get Firefox</a> if your browser does not support JavaScript.</noscript>
<script type="text/javascript">setTimeout('kfm()',10);</script>
</body>
</html>
RE: Delete Files
yeah - I hacked that functionality into FCKeditior, back in May.
demo: http://verens.com/demos/FCKeditor/_samples/default.html
you can find the files I changed here:
http://verens.com/demos/FCKeditor/editor.tbz2
I stopped working on it, though, to build a totally new file manager - http://kfm.verens.com/, which has quite a few improvements over the FCKeditor one.
Kae
RE: Delete Files
RE: Delete Files
RE: Delete Files
Kae, thanks for your quick help on this. I am not using ASP right now, but do use it quite a bit at work. I was just checking for availability. I noticed that there were two gentlemen who mentioned that they were going to collaborate on the ASP side (this was mentioned on your forum). Did that happen?
Ideas?
Well, I use PHP primarily. And it is not stripping the '/' characters. If my upload folder is set to '/UserFiles/' (as is the default), then it will upload the files to '/htm/UserFiles/' instead of the root which is '/html/UserFiles/'. FCKeditor is just assuming that the root is in 'htm' but it is in 'html'. Very wierd. And I cannot determine where in the code it gathers the $_SERVER root. Because it seems like a server issue (although Media Temple has denied it).
RE: Delete Files
it's been a while since I worked on the original file manager.

this error is probably coming from the GetRootPath() function in editor/filemanager/browser/default/connectors/php/io.php
there is a strange usage of substr() in there, which is not easy to follow. the bug might be in that.
personally, though, I recommend KFM instead
no, there has been no work on the ASP side. I'm not too worried about that, though.
When the project hits version 1.0 (which might be in just a few months), I'll work on reducing the PHP functions by refactoring, and ask if anyone wants to give an ASP port a shot.
Until that point, though, it is probably useless to port it, as the functionality keeps changing.
Kae
RE: Delete Files
RE: Delete Files
RE: Delete Files
I tried the KFM because I prefer it, but it would not work. It gave me a blank page. However the code had a bunch of script in it:
RE: Delete Files
thought I'd replied to this.
please try the latest version (download the Nightly version - you'll need a MySQL database).
if there are any errors, they'll be logged.
Please mention any errors in the forum at http://kfm.verens.com/phpBB2/
Kae