Hi, I am working on a script that utilizes the filesystemobject. Is there any server/hosting issues that I should be aware of that might affect the filesystemobject from working correctly that I should be aware of?
The only issues I am aware of are:
Folder/File permissions - ie, you have to have write permisions before creating a file and so on
ActiveX permissions - you have to be able to actually access the FileSystemObject (though this shouldn't be a problem)
Certain Software Firewalls - some software firewalls need you to turn off protection from scripting orthey willprotect your FileSystem call straight into the ground. Basically if you have a software firewall it will actually intercet the FileSystem call (when writing/creating/appending I believe) and the call will never fail out, leaving you with a page that sits loading forever instead of timing out.
Tests:
1) Write a little script using CreateTextFile to try to create a file. This will test the ActiveX permissions and your web account write permissions. Write permissions should be modifiable by you.
If the script never returns then you have something protecting against scripts on that machine.
Technically is your going through aprofessional web host then the only issue you should run into is the write permission issue. Generally this is something your host will give you the capability to change (or just leaves on by default).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.