|
-
Jul 12th, 2001, 09:11 AM
#1
Thread Starter
Hyperactive Member
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
-
Jul 12th, 2001, 09:39 AM
#2
Frenzied Member
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.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jul 13th, 2001, 09:53 AM
#3
Thread Starter
Hyperactive Member
Thanks
Thanks for that, I checked the permissions and added the I_USER to the host servers and it worked fine
Regards
Markus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|