Re: [web2py] Re: how can I pick a directory from a web2py form (equivalent to WxDirPickerCtrl)

2012-06-19 Thread Michele Comitini
Janath, I do not know if the following is something that can help but at least it allows doing neat things: http://tutorialzine.com/2011/09/html5-file-upload-jquery-php/ http://www.html5rocks.com/en/tutorials/file/dndfiles/ http://www.html5rocks.com/en/tutorials/file/filesystem/

[web2py] Re: how can I pick a directory from a web2py form (equivalent to WxDirPickerCtrl)

2012-06-19 Thread stefaan
From what I understand: If it is a folder on the client pc, it probably isn't possible with just javascript. If it is a folder on the server, it should be possible to write something yourself (maybe a lot of work if you want a full-fledged file manager, but if you can live with listing possible

Re: [web2py] Re: how can I pick a directory from a web2py form (equivalent to WxDirPickerCtrl)

2012-06-19 Thread Michele Comitini
The html5 filesystem API allows you to add files from the real filesystem of the clients machine to the sandboxed filesystem in the browser. The browser can then send files in the sandbox to the server or manipulate those directly. To add files to the sandboxed filesystem one can use dragdrop or

[web2py] Re: how can I pick a directory from a web2py form (equivalent to WxDirPickerCtrl)

2012-06-18 Thread Anthony
From what I've read, this is not possible in HTML/Javascript from a browser (you can select a file, but not a folder path). Apparently it can be done via a Java applet, ActiveX plugin, or Flash. Anthony On Monday, June 18, 2012 11:52:06 AM UTC-4, Janath wrote: I need a control in a form