Am 12.02.2008 um 21:51 schrieb Tobias Bocanegra:
i don't know dojo, but afaik in ajax you cannot send a file unless you loosen some browser security policies. a work around is to use a hidden iframe that contains a form.
You can send a form with an <input type="file"> via XHR, but you cannot set the filename via Javascript. The user must click the "browse" button and choose a file himself to avoid automatic uploading of critical files.
Alex -- Alexander Klimetschek [EMAIL PROTECTED]
