Web File Manager for ALT-F

1,714 views
Skip to first unread message

Curso Palma

unread,
Apr 10, 2015, 4:50:04 PM4/10/15
to al...@googlegroups.com
I'm not on sourceforge so i can't open a ticket there.

Good old Midnight Commander isn't so nice with ntfs & long names; there is the possibility for a porting of a web-based file manager such as extplorer

http://extplorer.sourceforge.net/

or something similar?

From the package list i can't spot anything like that.

Thanks

Konrád Lőrinczi

unread,
Apr 11, 2015, 3:03:09 AM4/11/15
to al...@googlegroups.com

I would also welcome some kind of Web file manager.

Regards,
Konrad

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.

João Cardoso

unread,
Apr 11, 2015, 10:34:28 AM4/11/15
to al...@googlegroups.com


On Saturday, April 11, 2015 at 8:03:09 AM UTC+1, Konrád Lőrinczi wrote:

I would also welcome some kind of Web file manager.

Regards,
Konrad

2015.04.10. 22:50 ezt írta ("Curso Palma"):
I'm not on sourceforge so i can't open a ticket there.

Good old Midnight Commander isn't so nice with ntfs & long names; there is the possibility for a porting of a web-based file manager such as extplorer

http://extplorer.sourceforge.net/

I tried several, AjaxExplorer-1.10.3.2  filemanager, phpFileManager, eXtplorer_2.1.7, mollify-2.6.6,...  but didn't get convinced by none. Some just don't work, some aren't maintained, others don't preserve file ownership (written for MS-Win?), some work but are "ugly"... for most of them you only have to start lightttpd with php enabled, then expand the package zip file under the lighttpd 'htdocs' folder.




or something similar?

From the package list i can't spot anything like that.

Thanks

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.

Curso Palma

unread,
Apr 11, 2015, 10:46:22 AM4/11/15
to al...@googlegroups.com
Hi Joao,


I tried several, AjaxExplorer-1.10.3.2  filemanager, phpFileManager, eXtplorer_2.1.7, mollify-2.6.6,...  but didn't get convinced by none. Some just don't work, some aren't maintained, others don't preserve file ownership (written for MS-Win?), some work but are "ugly"... for most of them you only have to start lightttpd with php enabled, then expand the package zip file under the lighttpd 'htdocs' folder.
 

Based on your experience, which ones works? No sense in testing something that is already known to be broken.


João Cardoso

unread,
Apr 11, 2015, 12:33:20 PM4/11/15
to al...@googlegroups.com
I don't like web-based file managers, as the files and folders, to be manipulable, must be owned by the httpd server. Why not use a FTP client program, or a ftp browser extension?

phpFileManager worked out of the box, but has a "ugly" intrface. AjaxExplorer has a win-98 look, but it is difficult to setup (and it is not maintained anymore), as it wants to work on the default 80 port and lighttpd works on port 8080. eXtplorer and mollify just don't work. filemanager (pidio) works but seems to be much more than a pure filemanager.


Curso Palma

unread,
Apr 11, 2015, 4:30:32 PM4/11/15
to al...@googlegroups.com
Hi Joao,

"ugly" is better than "nothing", so next week will try phpfilemanager (current version is 0.9.8)
Any pointer for the (pidio) filemanager? Found nothing but exotic landscapes with these keys....

One thing: call me dumb but since my informatic start on 1988 with a "shiny" 286, never thought of a ftp program as a filemanager for handling of files inside a single server; i'm used to ftp c/s and fxp s/s. Got to find out how.

Curso Palma

unread,
Apr 14, 2015, 6:57:26 AM4/14/15
to al...@googlegroups.com
Hi Joao,

phpFileManager worked out of the box, but has a "ugly" intrface. 

to me it says

Fatal error: Call to undefined function mb_strtolower() in /mnt/pendrive/Public/RW/htdocs/index.php on line 2487
 
Any guess?

João Cardoso

unread,
Apr 16, 2015, 11:46:27 AM4/16/15
to al...@googlegroups.com
And what is your lighttpd server root? Mine is

root@dns-320l]# grep ^var.server_root /etc/lighttpd/lighttpd.conf 
var.server_root = "/mnt/md1/webData"

In this case you should  expand the phFilemanager files under /mnt/md1/webData/htdocs, in its own folder, than change the ownership of its files to lighttpd:network, 
as in

chown -R lighttpd:network /mnt/md1/webData/htdocs/phpFileManager # if you put it under the phpFileManager folder

And of course you need to enable PHP in the lighttpd setup page and restart lighttpd

If I remember correctly, the procedure to use the win-98-look AjaxExplorer is similar, but it only works on port 80, not on port 8080 as the default lighttpd server works. So, if you want to try it, you have to

1-stop lighttpd
2-change the default webUI port from port 80 to port 8080 using Services->Network->inetd->http, Ports, check "Alternative ports", and Submit
3-direct you browser to http://box_ip:8080. All the webUI pages will need the :8080 at the end
4-Change lighttpd default port from 8080 to 80, using Services->Network->lighttpd->Configure, change "on port 8080" to "on port 80", Submit and start lighttpd. Now httpd://box_ip will direct you to the lightttpd pages, not the webUI pages.




 
 
Any guess?

Curso Palma

unread,
Apr 17, 2015, 4:12:57 AM4/17/15
to al...@googlegroups.com
Thanks Joao, will try tomorrow to see this issue.

Curso Palma

unread,
Apr 21, 2015, 6:04:49 AM4/21/15
to al...@googlegroups.com
On Thursday, April 16, 2015 at 5:46:27 PM UTC+2, João Cardoso wrote:


On Tuesday, April 14, 2015 at 11:57:26 AM UTC+1, Curso Palma wrote:
Hi Joao,

phpFileManager worked out of the box, but has a "ugly" intrface. 

to me it says

Fatal error: Call to undefined function mb_strtolower() in /mnt/pendrive/Public/RW/htdocs/index.php on line 2487

And what is your lighttpd server root? Mine is


/mnt/pendrive/Public/RW/htdocs/

 
 
root@dns-320l]# grep ^var.server_root /etc/lighttpd/lighttpd.conf 
var.server_root = "/mnt/md1/webData"

In this case you should  expand the phFilemanager files under /mnt/md1/webData/htdocs, in its own folder, than change the ownership of its files to lighttpd:network, 
as in

chown -R lighttpd:network /mnt/md1/webData/htdocs/phpFileManager # if you put it under the phpFileManager folder

And of course you need to enable PHP in the lighttpd setup page and restart lighttpd

ownership and permission were set ok, the error persist.

If I remember correctly, the procedure to use the win-98-look AjaxExplorer is similar, but it only works on port 80, not on port 8080 as the default lighttpd server works. So, if you want to try it, you have to

1-stop lighttpd
2-change the default webUI port from port 80 to port 8080 using Services->Network->inetd->http, Ports, check "Alternative ports", and Submit
3-direct you browser to http://box_ip:8080. All the webUI pages will need the :8080 at the end
4-Change lighttpd default port from 8080 to 80, using Services->Network->lighttpd->Configure, change "on port 8080" to "on port 80", Submit and start lighttpd. Now httpd://box_ip will direct you to the lightttpd pages, not the webUI pages.


done. Testing Ajax Explorer... but...
the install.php tells me that it does't have htaccess control. But i can't find where is the htaccess.txt file, normal or hidden. Or do i need to create one somewhere?



 
 
Any guess?

Nicola C.

unread,
Apr 23, 2015, 6:33:00 AM4/23/15
to al...@googlegroups.com
Joao, personally I'm using Filezilla and it's fine, I've managed to preserve folders and files ownership and I'm using it a lot, but the point is that managing and transferring huge files and folders via lan can be a time-consuming task, while doing the same thing in the alt-f server could be better for sure: safer & faster.
Maybe you could share your knowledge by releasing a couple of packages you've already tested (and you know can work) so we can test by ourselves and give some kind of feedback...
What's your opinion?

Regards,
Nicola

Konrád Lőrinczi

unread,
Nov 29, 2016, 6:38:21 PM11/29/16
to Alt-F
Any news on this?
What web based file manager do you use?

If there is a working one, could be possible to have it as ALT-F package?
No matter if ugly.

Ugly is better, than nothing :-)

Konrád Lőrinczi

unread,
Dec 23, 2016, 6:33:46 AM12/23/16
to al...@googlegroups.com
Strange, that hello.php shows
403 - Forbidden

http://192.168.0.199:8080/hello.php

I executed the following to have access to it:
[root@dns320]# cd /mnt/sda2/www/htdocs/htdocs/
[root@dns320]# ls
ajaxplorer aria2web hello.html hello.php
[root@dns320]# chown lighttpd:network hello.html
[root@dns320]# chown lighttpd:network hello.php
[root@dns320]# ls -la
total 20
drwxr-xr-x 3 lighttpd network 4096 Dec 23 12:01 .
drwxr-xr-x 3 lighttpd network 4096 Dec 4 00:08 ..
drwxr-xr-x 7 lighttpd network 4096 Dec 23 12:00 ajaxplorer
lrwxrwxrwx 1 root root 19 Dec 4 00:09 aria2web -> /Alt-F/opt/
-rw-r--r-- 1 lighttpd network 41 Dec 4 00:08 hello.html
-rw-r--r-- 1 lighttpd network 20 Dec 4 00:08 hello.php
[root@dns320]# /etc/init.d/S52lighttpd restart
Restarting lighttpd:
Stopping lighttpd: OK.
Starting lighttpd: OK.

But I still get 403 - Forbidden error at url:
http://192.168.0.199:8080/hello.php

Any idea why?
> --
> You received this message because you are subscribed to the Google Groups
> "Alt-F" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to alt-f+un...@googlegroups.com.

João Cardoso

unread,
Dec 23, 2016, 10:04:51 AM12/23/16
to Alt-F


On Friday, 23 December 2016 11:33:46 UTC, Konrád Lőrinczi wrote:
Strange, that hello.php shows
403 - Forbidden

That works out of the box when using Services->Network, lighttpd, Configure, supplying a Server Root and enabling PHP (after installing it).

Using "/mnt/sdb3/WebData" as "Server Root" in the webUI gives in /etc/lighttpd/lighttpd.conf

var.server_root = "/mnt/sdb3/WebData"
server.document-root = server_root + "/htdocs"

and

[root@DNS-325]# ls -l /mnt/sdb3/WebData
total 12
drwxr-xr-x    3 lighttpd network       4096 Jun 26  2014 .
drwxrwxrwx   12 jcard    users         4096 Nov 30 18:19 ..
drwxr-xr-x    4 lighttpd network       4096 Nov 14  2014 htdocs


[root@DNS-325]# ls -l /mnt/sdb3/WebData/htdocs/
total 24
drwxr-xr-x    4 lighttpd network       4096 Nov 14  2014 .
drwxr-xr-x    3 lighttpd network       4096 Jun 26  2014 ..
-rw-r--r--    1 root     root            41 Jun 26  2014 hello.html
-rw-r--r--    1 root     root            20 Jun 26  2014 hello.php
drwxrwxr-x   15 lighttpd network       4096 Jun 27  2014 owncloud
drwxr-xr-x    3 lighttpd network       4096 Apr  3  2015 webdav

perhaps hello.* should belong to lighttpd:network, for security, but it works out out the box, and by directing the browser to http://dns-325:8080/hello.php shows the PHP info page.


Konrád Lőrinczi

unread,
Dec 23, 2016, 7:08:42 PM12/23/16
to al...@googlegroups.com
I installed AjaXplorer/Pydio v5.0.4 web based file manager.
Of course it requires the following ALT-F packages to be installed:
- Lighthttpd web server
- PHP


Get AjaXplorer to the NAS:
[root@dns320]# cd /root
[root@dns320]# wget
http://ftp2.ie.freesbie.org/pub/download.sourceforge.net/pub/sourceforge/a/aj/ajaxplorer/ajaxplorer/stable-channel/5.0.4/ajaxplorer-core-5.0.4.tar.gz
[root@dns320]# gunzip ajaxplorer-core-5.0.4.tar.gz
[root@dns320]# tar xvf ajaxplorer-core-5.0.4.tar -C /mnt/sda2/www/htdocs/htdocs/
[root@dns320]# cd /mnt/sda2/www/htdocs/htdocs/
[root@dns320]# mv ajaxplorer-core-5.0.4 ajaxplorer

Now make correct permissions for web root:
[root@dns320]# chown -R lighttpd:network /mnt/sda2/www/htdocs/htdocs/


To have access to .php files, I had to allow fastcgi module in
/etc/lighttpd/modules.conf (otherwise got 403 Permission Denied):
nano /etc/lighttpd/modules.conf

## FastCGI (mod_fastcgi)
##
include "conf.d/fastcgi.conf"


The AjaXplorer v5.0.4 require the following PHP modules to be enabled
in /etc/php.ini:
extension=dom.so
extension=gd.so
extension=hash.so
extension=mcrypt.so
extension=openssl.soInstall
extension=session.so


The following module list shows the enabled modules in /etc/php.ini:
[root@dns320]# nano /etc/php.ini

;extension=bz2.so
;extension=calendar.so
;extension=ctype.so
;extension=curl.so
extension=dom.so
;extension=exif.so
;extension=fileinfo.so
;extension=ftp.so
extension=gd.so
extension=hash.so
;extension=iconv.so
;extension=json.so
;extension=mbstring.so
extension=mcrypt.so
;extension=mysql.so
extension=openssl.so
;extension=pdo.so
;extension=pdo_mysql.so
;extension=pdo_sqlite.so
;extension=phar.so
;extension=posix.so
;extension=readline.so
extension=session.so
;extension=simplexml.so
;extension=snmp.so
;extension=soap.so
;extension=sockets.so
;extension=sqlite3.so
;extension=sysvmsg.so
;extension=sysvsem.so
;extension=sysvshm.so
;extension=tokenizer.so
;extension=xml.so
;extension=xmlreader.so
;extension=xmlwriter.so
;extension=zip.so
;extension=zlib.so

Also enabled in /etc/php.ini
cgi.fix_pathinfo=1

Restart Lighthttpd to activate config changes:
[root@dns320]# /etc/init.d/S52lighttpd restart


Browser: go to (replace 192.168.0.199 with your NAS IP):
http://192.168.0.199:8080/ajaxplorer/#0
Install it.


Successfully installed AjaXplorer/Pydio v5.0.4.
Pro: knows very much, can connect to a lot kind of repositories, including sftp.
Con: it is very slow, thanks to Javasript and the maybe slow NAS processor.


The SSH2 PHP module is missing, this would be need to support sftp.
Could be possible to install it somehow?


Best regards,
Konrad Lorinczi
>> > email to alt-f+un...@googlegroups.com.
>> > Visit this group at http://groups.google.com/group/alt-f.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Alt-F" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to alt-f+un...@googlegroups.com.
> Visit this group at https://groups.google.com/group/alt-f.

Linhares

unread,
Apr 30, 2021, 11:13:14 AM4/30/21
to Alt-F
"Successfully installed AjaXplorer/Pydio v5.0.4.

Con: it is very slow, thanks to Javasript and the maybe slow NAS processor."

Owncloud is in the repo but it should be worst; what about  FileRun - File Manager, for example?
Reply all
Reply to author
Forward
0 new messages