i want to get the file objects from using file path. for example
here is my code,
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
</head>
<body>
<div>
<input type="file" value="Import" id="fileUpload" />
</div>
<script>
$("#fileUpload").bind("change", function () {
var obj = this.files[0]
});
</script>
</body>
</html>
if i will upload the file i will get the file object from this.files[0] using file upload event..
i need to get the same object using path. for example, if i have assigned the file path as one certain variable i need to get same thig?,
var path = "C:UsersakbarkmDesktopsample.html"
how to achieve this?
