[Kss-devel] File upload when submitting a form via kss.

Balazs Ree ree at ree.hu
Sun Nov 11 20:18:22 CET 2007


On Sun, 11 Nov 2007 14:15:49 +0200, JC Brand wrote:

> Is there anything that I can do to ensure that the form is marshaled in
> such a way that I can get a FileUpload object instead of a string?

No. There is no way to access the content of a file from javascript. The 
browsers make this sure for security reasons: so that malicious web code 
could not gain access to the filesystem content.

There could be some tricky way to get around this, but we did not 
experiment with it yet.

-- 
Balazs Ree



More information about the Kss-devel mailing list