Is it possible to edit a local file without uploading to the browser?
Let's say the client has an HTML file, I want him to be able to use my site's javascript to edit the file without uploading it. Would this be possible?
Thanks.
You can Load the Local file in Chrome Browser locally without Using AJAX. you can use normally use jQuery function like $.getJSON () for loading the file in chrome browser. But if you use this jQuery functionality then chrome Web Security will Block your function to access file form files packages.
How to Open Local Files on Your Browser in Windows 1 Preamble – Security Issues. There are a few issues that need to be addressed before you access local files in your browser. ... 2 Google Chrome. Using Google Chrome to access local files is as easy as pressing Ctrl + O at the same time. ... 3 Firefox. ... 4 Edge. ... 5 Wrapping Up. ...
Using Google Chrome to access local files is as easy as pressing Ctrl + O at the same time. This interface will open, allowing you to navigate to whichever file or folder is needed.
Traditional file sharing over the internet involves uploading the target file to a file host or a cloud-based server and then downloading it. However, these 3 methods involve creating an instant share link for the file that you want to share without uploading. This offers much faster speeds and less overhead.
Yes, it is possible, but only in HTML5 (and only as browsers add support for it...not all do yet), you can find the HTML5 File API here.
Note that the user has to give permission to access the file, from Section 5.9:
Once a user has given permission, user agents should provide the ability to read and parse data directly from a local file programmatically.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With