How to get full path of selected file on change of <input type=‘file’> using javascript, jquery-ajax?

后端 未结 11 2572
谎友^
谎友^ 2020-11-21 04:36

How to get full path of file while selecting file using




        
11条回答
  •  无人共我
    2020-11-21 05:11

    You can get the full path of the selected file to upload only by IE11 and MS Edge.

    var fullPath = Request.Form.Files["myFile"].FileName;
    

提交回复
热议问题