FileSystem Object

Hi

Is Scripting.FileSystem object (for ASP) enabled in the windows servers (that is, a user can create instances of it and work with them)? If so, under what limitations:

  • Does it have just read-only permissions?
  • Can it be used to write files/create folders under the user directory?

Second question is the most important

Thanks

Scripting.FileSystem object (for ASP) enabled in the windows servers and limited to your home directory. you can test its functionality using coding. A simple example is -

<%
Set fs=Server.CreateObject(“Scripting.FileSystemObject”)

If (fs.FileExists(“path to file”))=true Then
Response.Write(“File exists.”)
Else
Response.Write(“File does not exist.”)
End If

set fs=nothing
%>

Thanx

Ok thanks. I am assuming that I can create/write any file in my own directory

I cannot test this in all the windows servers, since I have not created an account for a prospective customer that is asking this

Thanks