Local file system access

211 views
Skip to first unread message

Andre Freller

unread,
Jan 24, 2007, 4:42:00 PM1/24/07
to Google-We...@googlegroups.com

Hi,

I've created both an Applet and a GWT class that allows me to read a file on the user's file system.
It asks permission to the user but for me this is fine.

So first I created an applet and a signing key.
The code and instructions to build the Applet can be found at:

http://gwt-commons-sandbox.googlecode.com/svn/branches/freller/jsio

Then I created a proxy class in GWT to call the Applet's method
from javascript. This code can be found at:

http://gwt-commons-sandbox.googlecode.com/svn/branches/freller/gwt-commons/src/org/gwtcommons/user/client/JSIO.java

I tested on IE, FF and Opera. On Opera the FileUpload.getFilename() don't give the
correct path to the file, but if I use the correct name in JSIO.getFile() it works.
Can someone please test it on Safari?

Freller

Reply all
Reply to author
Forward
0 new messages