| |
<%
On Error Resume Next
OutHTML = ""
Set FSO = CreateObject("Scripting.FileSystemObject")
Set act = FSO.CreateTextFile(Server.MapPath("testfile.txt"), True)
act.WriteLine("TestLine")
act.Close
Set act = Nothing
If Err = 0 Then
OutHTML = OutHTML & " Creating of files supported..." & vbCrLf
Else
OutHTML = OutHTML & " Creating of files Not supported..." & vbCrLf
End If
fso.DeleteFile(Server.MapPath("testfile.txt"))
If Err = 0 Then
OutHTML = OutHTML & " Deleting and Modifying of files supported..." & vbCrLf
Else
OutHTML = OutHTML & " Deleting and Modifying of files Not supported..." & vbCrLf
OutHTML = OutHTML & " This causes Mail-Robot Not To work propperly." & vbCrLf
End If
Set FSO = Nothing
If Err > 0 Then
Response.Write "Scripting.FileSystemObject Not full supported." & vbCrLf
Else
Response.Write "Detected: Scripting.FileSystemObject
" & vbCrLf
c1 = c1 + 1
End If
Err.Clear
Response.Write OutHTML
If c1 > 0 Then
Response.Write " Found " & c1 & " components." & vbCrLf
Response.Write " " & vbCrLf
Response.Write " Please inform your Mail-Robot administrator about the installed components." & vbCrLf
Response.Write " " & vbCrLf
Response.Write " yellowbaris@yahoo.com" & vbCrLf
Else
Response.Write " " & vbCrLf
Response.Write " Please inform your Mail-Robot administrator about the installed components." & vbCrLf
Response.Write " " & vbCrLf
Response.Write " Please contact your web server administrator to be informed" & vbCrLf
Response.Write " about the installed FileSystemObjects on your server." & vbCrLf
End If
%>
|
|