-
FileScripting object
Can the fileScripting object be used to open text files on other servers?
eg;
Set ofile = oFileSystem.GetFile("\\OtherServer\data\file.txt")
or can it only work off directories stored on the web server?
If is cannot be done how can I open a file on a remote server fro reading?
Thanks
Markus
-
That should work provided the script has permissions on the remote server and the network is configured.
If the script is in an ASP, it is going to be running as IIS_USER (or something like that). That account has to have domain wide access, or access to that remote path. If that access is challenged (Please provide ID and password) then it won't work.
There are ways to remedy that, but if you can avoid it is best.
I'm sure someone else can speak more to that, but play around with access and see what happens.
-
Thanks
Thanks for that, I checked the permissions and added the I_USER to the host servers and it worked fine
Regards
Markus