Forget the question.
It seems that it is just impossible to browse the local FS in 
JavaScript, mainly for security reasons.
I think I will fall back to plain html for choosing the file to upload 
and to the hidden iframe method that was submitted to the list for file 
download.

Life is hard...

Cheers,
Vincent

Vincent Vandenschrick a écrit :
> Hi all,
> I was wondering if anyone had already implemented a local FS browse 
> functionality in a Qooxdoo (0.8.2) application. I may be blind, but I 
> couldn't find any dedicated component.
>
> Here is what I need to achieve :
>
> 1/ Upload binary data
> - Let the user browse its local FS for some file (maybe filtering on 
> file name patterns).
> - Open the file and post the binary content to a servlet. The servlet 
> is already there and accepts multipart/form-data content.
> - React on events (success, failure, ...)
>
> 2/ Download binary data
> - Let the user browse its local FS and select a directory and a file 
> name (maybe filtering on file name patterns).
> - Download some binary content from a servlet and save it to the 
> selected file (creating it if needed or asking user to confirm 
> overriding).
>
> Any help / hints / sample code ;-) appreciated.
>
> Best regards,
> Vincent
>


-- 
Vincent Vandenschrick
 Jspresso Framework
 http://www.jspresso.org


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to