Did not have luck with these examples: Javascript File remove Javascript FSO DeleteFile Method Deleting a File
There are no special permissions on the file. Is there a way to do this in JQuery?
The requirement is - a certain file must be deleted from the web directory when another page is loaded. There is no security issue as this is on a closed network.
Any help is appreciated.
Thanks.
With pure JavaScript, it can't be done. Using an AJAX call to a server side script that deletes the file would work though.
2.1m questions
2.1m answers
60 comments
57.0k users