HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Feature Requests (
-   -   AjaXplorer with ISPConfig... (

LTxda 25th October 2011 01:17

AjaXplorer with ISPConfig...
I wanted to recommend AjaXplorer as an add-on or maybe for it to be distributed with ISPConfig. Great functionality, simple, extremely easy to setup, no database required, etc.

erosbk 8th November 2011 22:12

Do you know how to make it work as ftp web client? I tried without success... I want users to use their ftp users to login directly to their directories.


LTxda 8th November 2011 23:03


Originally Posted by erosbk (Post 267116)
Do you know how to make it work as ftp web client? I tried without success... I want users to use their ftp users to login directly to their directories.


It is pretty straight forward. Once you install you can setup a repository which is the user's chrooted path to the file system and create a user assigned to that repository. It'll work similar to web ftp. It's a really nice interface, etc. Give it a try and report back for others to read about. Let me know if you have any more questions.

EDIT: I haven't looked to see if it can be configured to utilize existing accounts on the system to authenticate users so worse case you might have to setup users with the same user/pass as their ftp accounts and just point them to their ftp root.

erosbk 9th November 2011 02:54

I made it work:


In conf.php, modify the following:

        "AUTH_DRIVER" => array(
                "NAME"          => "ftp",
                "OPTIONS"      => array(
                        /* Id of the repository defined below */
                        "REPOSITORY_ID" => "dynamic_ftp",

                        /* Existing admin in the sense of ajaxplorer admin, to avoid alert at startup */
                        "ADMIN_USER"    => "admin",

                        /* If you want your use to connect any FTP they want, set this to TRUE */
                        "FTP_LOGIN_SCREEN" => "false",

                        "TRANSMIT_CLEAR_PASS"  => true)

$REPOSITORIES["dynamic_ftp"] = array(
        "DISPLAY"      => "FTP",
        "DRIVER"        => "ftp",
        "DRIVER_OPTIONS" => array(
                /* SEE access.ftp/manifest.xml for all available FTP parameters */
                "FTP_HOST"              => "",
                "FTP_PORT"              => "21",
                "PATH"                  => "/",

    /* use current ajax credentials */
                /* If you want your use to connect any FTP they want,
                        forget options above, and set this one to true*/
                "DYNAMIC_FTP"  => "False",

                /* Set this to "rw", this will be the default rights for users */
                "DEFAULT_RIGHTS" => "rw"

This will allow the user to login with his ftp user/pass directly to his home directory.

the problem is that, if the user writes a wrong user/password, it will login to ajax and will popup an error, but he will remain logued as the wrong user in ajax... I have to see how to workaround this...

LTxda 9th November 2011 06:14

Nice! Thanks for posting the info. At least I'll have a reference if I have to do something similar. Greatly appreciated.

LTxda 9th November 2011 06:19

Maybe if this is added to the ISPConfig package there can be options automating the setup for FTP integration, independent functionality or hybrid.

erosbk 9th November 2011 15:26

Becarefull with this, if you use fail2ban to check for failed ftp login, you will ban the server IP or localhost IP.

This can be avoid using a regex in fail2ban.

Till, as I could see, integrating ajaxplorer with ispconfig as webftp client should not be difficult.

ISPConfig must create an ajaxplorer user/pass equal to ftpuser/pass when created (modified too when ftp pass is modified, etc), and a fixed repository must be declared in ajaxplorer.

Another option could be to use the table ftp_users for login purpose (I have to explore different options)

If this is viable, maybe I could work on it, but I don't know if you are taking the way of net2ftp as web ftp client.


till 9th November 2011 15:45

In my opinion a webftp client like ajax explorer or net2ftp should stay a separate package like the webmail (roundcube, squirrelmail) and mysql (phpmyadmin) webclients. So each admin has the choice which FTP clients he wants to use and if he wants to use a webftp client at all.

If ajaxexplorer is a FTP client, it should be able to authenticate itself by FTP login like any other client?

erosbk 9th November 2011 16:12

I need to investigate a little more about ajaxexplorer. It is a really complete program very usefull for file management and database management (among others).

Here you can read his features (just a few lines)

It can be configured to be used just as a simple ftp web client if someone wants (as I posted), but with a few changes it can be integrated with ispconfig.

It is very easy to use, visually it is lot better than net2ftp, and... as ftp, it allows drag and drop from desktop, preview of files (images included), direct file editing with indented code (very usefull for php code editing without file downloading).

I recommend you to test it.

LTxda 10th November 2011 16:37

What I really liked is that I could point to any place on the servers's file system and lock a user into that repository. I wasn't restricted to just the ftp root for a user, etc. Really powerful, easy to use and looks great.

All times are GMT +2. The time now is 20:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.