K
Keith
Thought I would start another thread in case the other had dropped off
people's lists.
Still having problems here when trying to delete files off the server.
Using the code:
Set File = CreateObject("Scripting.FileSystemObject")
ImagePath =
Server.MapPath("..\..\..\sections\ezine\editions\images\articlethumbs\")
IssueNum = (RS_Content.Fields.Item("CON_Issue_Number").Value)
Image = (RS_Content.Fields.Item("CON_Image").Value)
ImagePath = ImagePath & "\" & IssueNum & "\" & Image
File.DeleteFile(ImagePath)
Everything I do shows that the recordset contains the correct values, but
the delete still gives me the following error:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
people's lists.
Still having problems here when trying to delete files off the server.
Using the code:
Set File = CreateObject("Scripting.FileSystemObject")
ImagePath =
Server.MapPath("..\..\..\sections\ezine\editions\images\articlethumbs\")
IssueNum = (RS_Content.Fields.Item("CON_Issue_Number").Value)
Image = (RS_Content.Fields.Item("CON_Image").Value)
ImagePath = ImagePath & "\" & IssueNum & "\" & Image
File.DeleteFile(ImagePath)
Everything I do shows that the recordset contains the correct values, but
the delete still gives me the following error:
Microsoft VBScript runtime error '800a01a8'
Object required: ''