How to get the path of a file before its uploaded?

后端 未结 3 398
[愿得一人]
[愿得一人] 2020-12-22 10:53

I have an upload box...


3条回答
  •  盖世英雄少女心
    2020-12-22 11:34

    Sites like Facebook, etc, use signed Java applets for this sort of thing (to enable local file reading), and integrate the image upload into that. Technically, you'd be able to pass data between Java and Javascript to prime it for upload, but the whole thing'd be non-trivial :) Check out http://jumploader.com/ for something which might be of use.


    (source: jumploader.com)

提交回复
热议问题