AjaXplorer


Recommended Posts

I did a search for this in the forum but didn't find a post on it, I've recently added AjaXplorer to my system which is great for moving files around in a Windows Explorer 'like' interface using a webbrowser.

 

You can grab it from http://www.ajaxplorer.info/ and it's as simple as putting it somewhere accessible on your server (obviously you need a web server installed - note the recent work by bubbaQ) and then modifying the configuration file at server/conf/conf.php by adding a section like this:

 

$REPOSITORIES[0] = array(

"DISPLAY" => "NAS",

"DRIVER" => "fs",

"DRIVER_OPTIONS"=> array(

"PATH" => realpath("/mnt/user"),

"CREATE" => true,

"RECYCLE_BIN" => 'recycle_bin',

"CHMOD_VALUE"  =>  '0600'

)

);

 

It saves me bumbling around with MC trying to copy files :)

Link to comment

Very interesting.  I'll do some testing, and see how it behaves with the web environment we have (Lighttpd and php).

 

I also discovered that in Firefox, you can browse (read only) files on a SMB share, and play streaming media files, including ISOs.  Using:

 

  file://///tower/disk1

 

This has been a real time-saver for me.  However, the Firefox security won't let a web page launch a "file://" link.... unless you changes some security settings.

Link to comment

I got round to installing QuiXplorer this evening.

 

From a UI/usability perspective AjaXplorer is a lot better, however, QuiXplorer beats it hands down for speed in directories with lots of subdirectories (say my music folder for instance).

 

The other problem is that unless the files are publicly accessible over http (i.e. http://tower:83/Movies/Terminator.avi) then QuiXplorer cannot download them over the browser but AjaXplorer can.

 

I may see if I can modify AjaXplorer to put in output buffering of some sort to speed up the folder listing - at the moment you get a "this script appears to not be responding" error because it takes so long.

Link to comment

The other problem is that unless the files are publicly accessible over http (i.e. http://tower:83/Movies/Terminator.avi) then QuiXplorer cannot download them over the browser but AjaXplorer can.

 

I may see if I can modify AjaXplorer to put in output buffering of some sort to speed up the folder listing - at the moment you get a "this script appears to not be responding" error because it takes so long.

 

Haha, I just had a thought for a solution and it appears it will work.  Instead of setting a webadress that files are server from, i.e. say http://tower:83/explorer/files equated to /mnt/user you can point it to a file. So you would put the url as http://tower:83/fetchfile.php?file= and then QuiXplorer would append the filename to fetch.  So I just need to write a short php script to send the file.

 

Could this be made simpler by simlinking the http://tower:83/explorer/files/ folder to /mnt/user/ ??

 

Answer: YES - creating a symlink:

 

ln -s /mnt/user/ /mnt/disk1/wwwdocs/quixplorer/file

 

And then setting the following config option:

 

$GLOBALS["home_url"] = "http://tower:83/quixplorer/file";

 

Did the job :)

Link to comment

In a rather crap way I was explaining that QuiXplorer couldn't view/stream files direct from the website whereas AjaXplorer could and then detailed how you can get it to work so that it does.

 

It takes me ages to move files using MC and so I wanted a web-based file manager of which these two seemed good.  AjaXplorer has a nicer UI but it runs slow but QuiXplorer is better but couldn't open files.  It also can't rename files at the moment.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.