I want to check a file exist in folder. Below code is while i\'m trying to many times is not working.
You can't access local files in modern web browsers. There is the HTML5 File API, but that involves direct user actions, you can't just use whatever files you please.