On Sun, Sep 27, 2009 at 1:20 AM, Yuri Takhteyev <y...@sims.berkeley.edu>wrote:

> > Well I had one idea and wondered if it was possible. Could I use
> javascript
> > to hook up to a button event and read what was in the one main file input
> > and then populate 2 other hidden file inputs with the other files.
> Thoughts?
>
> I don't believe this would work. You can have javascript populate the
> fields with the _names_ of files, but what you need is the _content_
> of those files. I don't think javascript can do that. And again, this
> constraint is there for a very good reason. If one could build the app
> you want to build, then one could use the same method to steal
> arbitrary files from the user's hard drive.
>

This is what I thought, but my customer is not that sympathetic about what
is available on a web platform and so I want to tell them that it is not
possible for sure by asking first.  It is internal to our company so the
security is not an issue, but browsers are not written for my company. :)
-- 
Regards,
Ryan
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to