Can't delete a file with the FileSystemObject
hello!
I've got a problem which i can't find a solution:
Dim fso
Dim oFile
Set fso = Server.CreateObject("Scripting.FileSystemObject")
oFile = fso.GetFile("...")
oFile.OpenAsTextStream()
'Read some data
oFile.Delete '<<--- here an error occurs: access denied. The IUSR has got all rights at this file and at this directory!
Please help me!
I also tried the following:
Set oFile = Nothing
fso.DeleteFile "..."
But this also doesn't work!
thx a lot!
Bernhard Wurm
|