
25th October 2011, 00:17
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
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.
http://www.ajaxplorer.info/wordpress/
|

8th November 2011, 21:12
|
|
Senior Member
|
|
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
|
|
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.
Thanks!
|

8th November 2011, 22:03
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
Quote:
Originally Posted by erosbk
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.
Thanks!
|
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.
Last edited by LTxda; 8th November 2011 at 22:10.
|

9th November 2011, 01:54
|
|
Senior Member
|
|
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
|
|
I made it work:
Code:
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.domain.com",
"FTP_PORT" => "21",
"PATH" => "/",
/* use current ajax credentials */
"USE_SESSION_CREDENTIALS" => 1,
/* 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...
|
|
The Following 2 Users Say Thank You to erosbk For This Useful Post:
|
LTxda (9th November 2011),
till (9th November 2011)
|

9th November 2011, 05:14
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
Nice! Thanks for posting the info. At least I'll have a reference if I have to do something similar. Greatly appreciated.
|

9th November 2011, 05:19
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
Maybe if this is added to the ISPConfig package there can be options automating the setup for FTP integration, independent functionality or hybrid.
|

9th November 2011, 14:26
|
|
Senior Member
|
|
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
|
|
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.
Regards
|

9th November 2011, 14:45
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
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?
|

9th November 2011, 15:12
|
|
Senior Member
|
|
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
|
|
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)
http://www.ajaxplorer.info/wordpress...-introduction/
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.
|
|
The Following User Says Thank You to erosbk For This Useful Post:
|
LTxda (10th November 2011)
|

10th November 2011, 15:37
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 08:59.
|
Recent comments
1 day 10 hours ago
1 day 13 hours ago
2 days 1 hour ago
2 days 3 hours ago
2 days 8 hours ago
2 days 14 hours ago
2 days 23 hours ago
3 days 1 hour ago
3 days 9 hours ago
3 days 11 hours ago