K
Keith
I am trying to delete a file off a server (same server asp app is running
on). I have done this before and not encountered any problems.
The code I am using is:
Set File = CreateObject("Scripting.FileSystemObject")
ImagePath =
Server.MapPath("..\..\..\sections\ezine\editions\images\articlethumbs\")
ImagePath = ImagePath & "\" &
(RS_Content.Fields.Item("CON_Issue_Number").Value) & "\" &
(RS_Content.Fields.Item("CON_Image").Value)
However, I am getting an error pointing to the last line of code above:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
Can anyone offer any help please? I'm sure I am missing something simple
from staring at this so long.
on). I have done this before and not encountered any problems.
The code I am using is:
Set File = CreateObject("Scripting.FileSystemObject")
ImagePath =
Server.MapPath("..\..\..\sections\ezine\editions\images\articlethumbs\")
ImagePath = ImagePath & "\" &
(RS_Content.Fields.Item("CON_Issue_Number").Value) & "\" &
(RS_Content.Fields.Item("CON_Image").Value)
However, I am getting an error pointing to the last line of code above:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
Can anyone offer any help please? I'm sure I am missing something simple
from staring at this so long.