Reputation: 4759
Is it possible to download html files and images from a server and store them in the same disk location as the html file doing the downloading?
I need to do this because I have an app that is a database of HTML files and these files change from time to time. When updates occur, it would be good if the HTML5 app prompted the user to do an update and if accepted, the file were downloaded and replaced the old file set.
The app has to work offline, hence the need to download the data.
Upvotes: 0
Views: 505
Reputation: 1312
In most browsers, yes. Read about the cache manifest http://diveintohtml5.ep.io/offline.html
Upvotes: 1