For Programmers: Free Programming Magazines  


Home > Archive > ASP > February 2006 > Reading file on network drive through UNC , IIS 6









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Reading file on network drive through UNC , IIS 6
mavrick_101

2006-02-21, 6:55 pm

Hi,

Here is my problem again. I am using ASP (old) and IIS6.0

I am trying to read a file which resides on \\FILESERVER\MYFOLDER\myfile.txt

I can not map this server on the webserver. I need to access it through UNC.

I have a domain account which when used with ASP.NET works fine through
impersonation. I use it for ASPUpload and it works fine to save files on
\\FILESERVER\MYFOLDER\

I want to read the file through FILESYSTEMOBJECT. I don't know if I can
impersonate using FILE SYSTEM OJBECT.

How can I read the file. Any help would be greatly appreciated.



Phillip Windell

2006-02-23, 6:55 pm

"mavrick_101" <mavrick101@discussions.microsoft.com> wrote in message
news:4DCD15BE-872D-46C5-99EF-F0E0778C4C11@microsoft.com...
> Hi,
>
> Here is my problem again.


And you will just get the same answer. Creating a new thread to repeat the
same question will just confuse some people and really irritate others.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com