March 20th, 2010, 12: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, 02: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.
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton