|
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?
|
|