|
-
Dec 4th, 2007, 09:17 AM
#1
Thread Starter
Addicted Member
[2005] Problem with paths
Hello,
I'm having trouble streamreading a text file located on a network drive.
If I run the code in VWD2005, everything is ok.
If I run the code in I.E., or IIS, it has the following problems:
Path = K:\Text\File.txt
It can't find this file
Path = \\Server\Share\Text\File.txt
The user name or password is invalid
I then thought that I'd try creating a batch file that could copy the file from the network drive, to somewhere local, and read the file from there. In VWD, it copies the file, and reads the file from the local drive, but in IE or IIS, it doesn't even bother running the .bat file.
I imagine that this all quite correct, and ensures security when viewing a page on the web, but this is for internal use only, so I need the users to be able to read a text file, irrespective of whether its on the local drive, or network drive.
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
|