Subject: Can't delete a file with the FileSystemObject
Posted By: Berni016x Post Date: 12/18/2003 9:07:17 AM
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

Reply By: alemadlei Reply Date: 9/27/2006 2:14:25 PM
did you close it?


Go to topic 50316

Return to index page 163
Return to index page 162
Return to index page 161
Return to index page 160
Return to index page 159
Return to index page 158
Return to index page 157
Return to index page 156
Return to index page 155
Return to index page 154