Click to See Complete Forum and Search --> : Is it possible to save an archive from an HTML page using JS?


arturion
08-05-2003, 10:08 PM
I need to save an HTML page from another.

I have seen window.document.execCommand('SaveAs'), but I don't want to use "save as", I want the page to be saved automatically after pressing a button

Khalid Ali
08-05-2003, 10:37 PM
sounds like beyond the js domain....

nkaisare
08-05-2003, 11:53 PM
Anything that gives you right to save on your client's desktop without his permission is a huge security threat. There is NO browser that will allow you to do this without users permission.

Unless I misunderstood your question... :rolleyes:

PeOfEo
08-06-2003, 01:47 AM
if you use a server side language you can update data bases and store html in them.. you can also use text files. But thats about as close as you can get with a web language. Limitations are there so people can take over eachothers comps from websites and spreading viruses etc etc.