-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a rich app client that wants to be able to construct data algorithmically and save the result; it also wants to be able to read a local file, and process it locally.
[No, I do *not* want unrestricted access to the filesystem from the client! I want to do all this via standard file load/save dialogues mediated by the user, like a sane app does.] I can save data by constructing a data: URL, invoking it, and the web browser will pop up a save dialogue to the user; this is ideal. Unfortunately the only way I've found in classic HTML of loading data is to use a file upload field, but that doesn't let the client see the data - --- it sends it straight to the server. Apart from being a waste of time and bandwidth, my app may not *have* a server (instead running entirely locally). Are there any new techniques I'm not aware of that will allow me to prompt the user for a file and then be able to get the contents of the file into a client-side structure so I can process it? I'm willing to use Gears or HTML5 if necessary, but I'd prefer to use stock HTML/JS if possible. - -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ "There is no Fermi Paradox. Any time space faring aliens make it to │ Earth, the cows get them." --- Sam Starfall -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFL6HBNf9E0noFvlzgRAthtAJ9z9Ctqgch4o+GoEals2Is5UCkBpgCcCzXJ DzHZtGbGNaLs777RQLe22dc= =UHjb -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
