开发者

AJAX automatic file upload in firefox

So I fill a row into the database and then I'd need to upload a PDF/XML file. This should happen without any user interaction. The script would know what the filename is and where the file is located.

Is there any way to do this? Please empty your tho开发者_Go百科ughts into the answer box!


Transparently uploading a file to a server without any kind of user interaction would be a huge security hole, and is not possible on any browser I know of. The only solution I see would be writing a Firefox extension, or maybe a Greasemonkey script the user would need to install beforehand.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜