Check File exist in Folder using Javascript

后端 未结 4 697
灰色年华
灰色年华 2021-01-29 15:28

I want to check a file exist in folder. Below code is while i\'m trying to many times is not working.






        
4条回答
  •  醉话见心
    2021-01-29 15:58

    There is no way you cant access files using your browser , JavaScript is a view language its interact only with the browser, to be able to access local file you need to use a back end platform such as NodeJs or Php

提交回复
热议问题