It Seems The Right One

But i tried to integrate into web2py , only working partially.
I know it is suppose to run as CGI script (as it used CGITLIB) but i am
modifying it to work on web2py
So far it is working for single directory view but cannot upload , open ,
delete (anything).

Here is my code and what i modified :


in Controller :

def json_connector():

    data=connector({
        'root': '/home/v3ss/Downloads',
        'URL': URL(r=request,f='call',args=['json','json_connector']),
        'debug': True,                   # send debug information
        'dirSize': True,                 # calculate directory sizes
        'dotFiles': True,                # show files beginning with dot
        'defaults':{'read':True,
                    'write':True,
                    'rm':True}

        }
    ).run()
    return data

In elFinder.py :

Diff:

197,198c197,198
<               print json.dumps(self._response, indent =
bool(self._options['debug']))
<               return  # sys.exit(0)
---
>               #print json.dumps(self._response, indent =
bool(self._options['debug']))
>               return  self._response



Anyone Succesfully Get it working?

Anyone Wanna help?

On Wed, Jun 16, 2010 at 2:51 AM, GoldenTiger <[email protected]> wrote:

> http://elrte.ru/en/elfinder
>
> I have found this usefull file manager, a python webapp, you will like
> it
>
> On 16 jun, 01:06, Phyo Arkar <[email protected]> wrote:
> > Hi All
> >
> > Is there any appliance with Server Side file brower , or any other
> > python webapp have it?  I am bored to do my own and going to use if
> > there anything out there. Like Net2ftp .
> >
> > Already existed in Appliances? Or somewhere else?
> >
> > Regards
> >
> > Phyo.
>

Reply via email to