I was wondering if anyone can enlighten me on how I can create and run a process that would delete certain files from the server when triggered by a user.
the fileSystemObject is what you're looking for. You can write an ASP page that will delete files using this object. Here is the info w/examples for each method:
I have already tried using the FileSystemObject in numerous different ways, but to no prevail. I am now at my wits end, cos I have basically copied the code preciely from the msdn site and all I get is an error saying :
[red]"Server.CreateObject Failed"[/red]
I have tried the fileobject.delete method as well as the fso.deleteFile method, but, all I get, over and over and over and over and over and over and over (you get the point) again.
Any idea why? I really need to solve this before I go insane.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.