I do not wht the FSO , FileSystemObject, is not working!
When I try to delete an image in a folder it blocks the script.
I tried one test page like this:
<%
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Dim objFolder
Set objFolder = objFSO.GetFolder("C:\Inetpub\
Response.Write "The files found in " & objFolder.Name & ":<br>"
Dim objFile
For Each objFile in objFolder.Files
Response.Write objFile.Name & "<br>"
Next
Set objFolder = Nothing
Set objFile = Nothing
Set objFSO = Nothing
%>
but it just keep loading.
Never happened before, I am on a new server.
what can be the problem because I get no error.
When I try to delete an image in a folder it blocks the script.
I tried one test page like this:
<%
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Dim objFolder
Set objFolder = objFSO.GetFolder("C:\Inetpub\
Response.Write "The files found in " & objFolder.Name & ":<br>"
Dim objFile
For Each objFile in objFolder.Files
Response.Write objFile.Name & "<br>"
Next
Set objFolder = Nothing
Set objFile = Nothing
Set objFSO = Nothing
%>
but it just keep loading.
Never happened before, I am on a new server.
what can be the problem because I get no error.