March 20th, 2010, 01:40 PM
Server.mapPath on Godaddy IIS7 shared hosting server
I set up a website using classic asp for a client about a year ago. In the website I wrote scripts that used the FSO object. All was working until the client upgraded to IIS7. Now I can not get the script to work and Godaddy (aaaaargh) tells me I am on my own. Here is my script
If I comment out the DeleteFile line the page loads, but if I leave it in I get an error. Can someone please help.
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
file = "../../bbb.png"
Set objFSO = Nothing
Today the world, tomorrow the universe...
March 20th, 2010, 03:09 PM
Hmm, I wonder if you'd get more help if you shared what the error message is?
Probably permissions need to be set to allow deletions.
Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.