cannot upload files

137 views
Skip to first unread message

Stanislav Mischenko

unread,
Mar 4, 2010, 3:23:34 AM3/4/10
to Windmill Developers
hi!
i have python 2.6, windmill 1.3, FireFox 3.6 (windows)
i wanted to upload file to site using <input id="fieldname"
type="file" name="filename" value="">
when i try it using windmill - i get security error as result.
how can be solved?

Ian Singh

unread,
Mar 10, 2010, 3:50:07 PM3/10/10
to Windmill Developers
Hi,

Not easily -- there is a security restriction present in all browsers
preventing javascript from editing those fields.
google "python post multipart" for some examples of how to work-around
and do the upload manually.

Thanks,
Ian


On Mar 4, 3:23 am, Stanislav Mischenko <stanislav.mische...@gmail.com>
wrote:

Reply all
Reply to author
Forward
0 new messages