View Full Version : FileAccess Component and FileCreateObject
Spire2000
11-25-2004, 02:57 PM
How does one verify that this above Object and component are installed? I have a script I am trying to run that isn't working, and I suspect that this might be the problem but due to my extreme ASP-Newbieness, I can't be sure it's not something else. If these are not installed, how does one do so?
Any help would be greatly appreciated.
afterburn
11-25-2004, 04:30 PM
use the following type of script...
On Error Resume Next
set fs = Server.CreateObject("Scripting.FileSystemObject")
if Err.Number <> 0 then
Response.Write "Error: " & err.Description
End If
Note: all ASP servers have the fileSystemObject installed its part of the OS.
Spire2000
11-26-2004, 08:53 AM
Thanks Afterburn. You're right of course, there was no error produced and therefore no problem creating the object.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.