PDA

View Full Version : eXtplorer - PHP-/ExtJS-based File Manager



soeren
12 Jul 2007, 4:03 AM
http://extplorer.sourceforge.net/images/eXtplorer.gif

Hi,




I have recently finished a File Manager which relies heavily on ExtJS: Grid, Tree, BorderLayout and Dialogs: eXtplorer.



It's a PHP-based App, so you can use it on servers which support PHP.



A demo is not available, because this would just mean a security risk for each server.

Features:
browse directories & files on the server and
edit, copy, move, delete files,
search, upload and download files,
create and extract archives,
create new files and directories,
change file permissions (chmod) and much more...You can even use eXtplorer to login to the FTP server (like net2ftp (http://www.net2ftp.com/)) and work as if you were using an FTP client.

Homepage: http://extplorer.sourceforge.net/


Have fun using it and post your comments here.

ciao, S

krycek
12 Jul 2007, 5:27 AM
great great... =D>=D>=D>



dialog_status is not defined
(no name)()index.php (line 114)
Observable()fetchscript.php (line 186)
Observable()fetchscript.php (line 186)
BasicDialog(undefined)fetchscript.php (line 306)
BasicDialog(undefined)fetchscript.php (line 306)
BasicDialog()fetchscript.php (line 306)
EventManager(Object browserEvent=Event resize button=-1 target=document)fetchscript.php (line 188)
Event(click clientX=0, clientY=0)fetchscript.php (line 154)
[Break on this error] dialog.on( 'hide', function() { dialog_panel.destroy(); dialog_statu...


it keeps showing this error when i'm going to close the dialog that shows the files content but all is working great... congratulation... really good

Nullity
12 Jul 2007, 6:24 AM
I haven't tested it yet, but that looks really slick. I am also in the process of coding my own implementation of this.

Sikifon
12 Jul 2007, 8:03 AM
Hi,

it's really great

big up =D>

KRavEN
12 Jul 2007, 10:53 AM
thats slick. I'm excited to check out the editor with syntax highlighting. Always wanted one for quick edits to pages remotely.

medusadelft
14 Jul 2007, 4:58 AM
Soeren,

Great code! A quick review brings up these issues:
- Treepanel with directory's is not scrollable (in at least IE6) if the content exceeds the tree height
- After the first login, a dialog appears, but I can't do anything or click anything.
- Same happens when I choose 'change mode'
- When selecting 'view source' I can see a part of the source code, but I can't browse through it.
- When selecting 'edit file' I see a dialog appear with 'simple edit/syntax highlight', but I can't do anything (why line numbers and colums when choosing syntax highlighting?)
- If you choose to show directories in the file-contents grid, it is not possible to double click on the directory to open it. This would be a nice feature.

I have not tested it with other browers than IE 6 yet, but it looks promissing!
Good job!

malotor
16 Jul 2007, 11:30 PM
Great works! Gratz!!!! ;)

Wolfgang
17 Jul 2007, 4:18 AM
Great work :)

Lev_A
19 Jul 2007, 12:58 PM
Cool stuff.
One question: Is it really doing file-search by file name? I tried on my server - returned "Search results: (/index.php). No results available." but I can see that file right in that directory.

medusadelft
21 Jul 2007, 4:08 AM
Hi S

ultimatee
25 Aug 2007, 10:24 AM
Hi,
I really like extplorer, but I have a few smaller problems, which are bugging me..
First, the autocompletion of code (eg. PHP) .. It is working so slow, it's annoying.. Is this part of extplorer or maybe the ext library? Where can this be switched off?

Second, the ftp mode logs in to my server, but then there are folders (and symbolic links to folders) I can't open and view the files inside as the treeview has only one node and this is "root".

I am using eXtplorer inside Joomla..

thanx,
ulti

6epcepk
25 Aug 2007, 12:40 PM
I doesnt't founding any live demo from the site...

wanclark
26 Aug 2007, 8:06 PM
looks very nice

froamer
7 Oct 2007, 4:32 AM
This looks absolutely stunning from the screen shots.

I am having problems getting it running though. I have php 4.3.9 and I have set the permissions to 666 for .htusers.php but when I login as admin (admin) I get a "login successful" message then it returns to a blank login form.

Any ideas?

paquerette
11 Oct 2007, 11:56 AM
Hi,

I've installed it, try to log with admin/admin, but it stays onthe login page. I 've time to see

"Login R

ericd
14 Oct 2007, 9:18 AM
Since I do not use PHP but servlets, would you have an issue if I were to modifu your code so I can use servlets

tavox
14 Oct 2007, 6:25 PM
First, congrats it is an excellent work and second i have some problems when i use IE6, sometimes works fine but others dont, it doesn't happen with FF2.

Best regards,

gUstavo

patspam
6 Nov 2007, 11:00 PM
Hi soeren, great work man!

For fun I extended the search feature to search inside files (via an optional checkbox in the search dialog since search-on-demand can be a bit slow).

Plain-text: .txt, .html, etc.. (easy enough because the files are, well, plain text)
For .pdf I used pdf2text (part of xpdf (www.foolabs.com/xpdf))
I didn't go any further but there are similar tools for ripping plain-text out of other proprietary formats (xlstocsv, etc..). Didn't have any luck finding a .doc one though!


Unfortunately the use of pdf2text makes it OS-dependent, but you could make these search tools "plugins" or something that people can add to suit their system.

If you're interested in including it in the project I'd be happy to contribute.

--Patrick

P.S. There is a bug in extplorer_2.0.0_RC1 on line 96 of include/search.php that breaks the mime-type detection:

$img = get_mime_type($dir, $item, "img");
Should be:

$img = get_mime_type($item, "img");

Deni Setiadhi
7 Nov 2007, 11:46 PM
thanks 4shared:)

wantjoule
18 Aug 2008, 10:19 AM
Hi soeren (http://extjs.com/forum/member.php?u=2183)

I am a long time user of V1.* and its great to get the first stable version on some of my dev boxes, the new version looks and works great.

I am having an issue with installation onto one joomla 1.5 site, when the installation finishes, its says "Install Component Success" but under the copyright blurb i get this message
Error!
Unable to read archive
Any ideas?

Ww

gelleneu
21 Aug 2008, 1:05 AM
Hi soeren,

In the FTP mode - does the upload_max_file_size and any php restrictions take effect too, or is the uploading size unlimited (like in WS_FTP and such FTP-clients?).

In my current application I use a JavaApplet for uploading large files, but It would be better, if I could use a PHP-FTP Script.

victorb
22 Aug 2008, 12:34 AM
Soeren,

You have done a wonderful job!

Thanks,
Victor

wm003
2 Sep 2008, 4:58 AM
Congrats, Soeren!=D>

Very nice work!

Bokis
2 Sep 2008, 11:10 AM
I've the same problem.

/Bokis


Hi soeren,

In the FTP mode - does the upload_max_file_size and any php restrictions take effect too, or is the uploading size unlimited (like in WS_FTP and such FTP-clients?).

In my current application I use a JavaApplet for uploading large files, but It would be better, if I could use a PHP-FTP Script.

wuchangqian
8 Sep 2008, 12:58 AM
it is a great works!

symx
2 Oct 2008, 10:13 AM
This seems like all I ever wanted in a web file manager

sanjayrajmane
14 Oct 2008, 2:49 AM
Hi ,
very nice work ......
Thanks..

ry.extjs
12 Nov 2008, 4:17 PM
cannot get this to work. i login, it's say 'login successful' then i go back to the login screen. the readme.txt file is not that helpful in setting everything up.

help?

htmlandrea
17 Nov 2008, 2:30 AM
Hi,

I solved the problem (in the standalone version 2.0 of Extplorer) simply adding session_start(); at the top of the file index.php.

Now my index.php file is:

<?
session_start();
[...]
all the rest of the code
[...]
?>

It work fine for me.

I hope it could help you.

Good Job!

Andrea

adbox
18 Mar 2009, 12:52 PM
I am having a really hard time finding the js to modify it... :-? .... im a dummy. they are unpacked into the scripts folder.

... I am very happy for this, thank you for putting this together. Its ballin. ballin ballin ballin.

yet i wonder, Is a progress bar still not possible these days with uploads?

lorezyra
21 May 2009, 9:43 PM
have there been any recent developments on this project?

talha06
28 Aug 2009, 7:06 PM
it's just AMAZING, thanx a lot dear friend.. :)

calavera
25 Oct 2009, 2:24 PM
Does this work with ExtJS 3 ? Thanks.

odie6
13 Dec 2009, 5:04 PM
Hello,

I really really like extplorer, it is perfect for remotely managing and editing, nice interface!

I run an IIS 5.1 server, with PHP 5.31, fast cgi 1.5, on Windows XP Pro, and the extplorer script works perfectly except for one major problem I believe:

The first is the upload function, which was working in v2.01, but not in 2.10b5, below is the error message from internet explorer 8 when you click the upload button - I could not get anything to happen in any other browser, not even an error message. I'd rather use the new version because the editor is awesome, colour coded, line nos really useful stuff!


Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Mon, 14 Dec 2009 00:58:47 UTC

Message: Object expected
Line: 69
Char: 114327
Code: 0
URI: http://10.1.1.2/wd2a/eXtplorerbeta/fetchscript.php?&subdir[]=scripts/editarea/&file[]=edit_area_full_with_plugins.js&subdir[]=scripts/yui/utilities/&file[]=utilities.js&subdir[]=scripts/extjs3/adapter/yui/&file[]=ext-yui-adapter.js&subdir[]=scripts/extjs3/&file[]=ext-all.js&subdir[]=scripts/extjs3-ext/ux.ondemandload/&file[]=scriptloader.js&subdir[]=scripts/extjs3-ext/ux.editareaadapater/&file[]=ext-editarea-adapter.js&subdir[]=scripts/extjs3-ext/ux.statusbar/&file[]=ext-statusbar.js&subdir[]=scripts/extjs3-ext/ux.fileuploadfield/&file[]=ext-fileUploadField.js&subdir[]=scripts/extjs3-ext/ux.locationbar/&file[]=Ext.ux.LocationBar.js&gzip=1


Also too, the script is partially usable on an iphone, the alignment is a little bit out, and the height of divs / textareas etc is not high enough, as on the iphone, you get only one scrollbar at the right hand side, scrolling inside divs does not work. I ran into this problem on my own web site and put a php conditional statement in the head section to say if the user agent contains "obi" which would mean if itis a mobile device, then change the height of those divs to be max height, either a large no of pixels, or 100% whichever works.

Trent.

rojer_31
21 Dec 2009, 1:57 AM
I've tried out a bunch of them & can unequivocally say that this is the one that's got the most functionality, the intuitiveness & the look and feel one would expect from a modern filemanager.

Thanks soeren!

fyi, I had a big issue where I was not able to login (that is login successful, but the page remains in the login screen). This was solved by a post in this thread :


I solved the problem (in the standalone version 2.0 of Extplorer) simply adding session_start(); at the top of the file index.php.

Now my index.php file is:

<?
session_start();
[...]
all the rest of the code
[...]
?>

It work fine for me.


I'd almost given up when I tried this fix & it worked. Thanks Andrea!

Max.mk
6 Mar 2010, 1:53 PM
hi,
I have just installed extplorer, like it a lot, but have a problem.
A user with View-only permissions can view files but can't download them? Why is it so?

isak
29 Mar 2010, 11:09 AM
Same problem. Any answer yet? Seems download only works with admin permissions.

Max.mk
30 Mar 2010, 3:55 AM
hi, i made a change in include/download.php


if(($GLOBALS["permissions"]&00)!=00) ext_Result::sendResult( 'download', false, $GLOBALS["error_msg"]["accessfunc"]);

it works now.

krakenpants
6 Oct 2010, 9:50 PM
Hi all, i love this but can't for the life of me figure out how to solve this error.

In IE8 using extplorer 2.1 beta6 (1.730 kb) (https://sourceforge.net/projects/extplorer/files/extplorer/eXtplorer%202.1.0/eXtplorer_2.1.0b6.zip/download)

This beta solves my problem of being unable to upload files greater than about 950MB.

But in IE8 when i login i constantly get this error.

Object doesn't support this property or method

Offending code
getComponentId:function(a){return a.getItemId()},add:function(a)

In file ext-all.js

EDIT:
It's worth noting that before this error i had another error
Object doesn't support this property or method
Line 874 application.js.php

Offending code dirTree=Ext.getCmp("dirTree");
This FIXES it for IE8 as far as i can see

var dirTree=Ext.getCmp("dirTree");

guyfomi
3 Dec 2010, 1:57 AM
does it works without joomla ? i get an error when i try to launch it

Call to undefined function login()

thx

Deminie
9 Oct 2011, 10:40 PM
ensure this file track a cell phone (http://www.mspy.com) is being included by a parent file