Re: Accessing network file form ASP page
From: Lamberti Fabrizio (lambu_at_from_italy.it)
Date: 03/04/05
- Next message: Tom Kaminski [MVP]: "Re: Accessing network file form ASP page"
- Previous message: Thomas P. Skinner [MVP]: "Re: Accessing network file form ASP page"
- In reply to: Thomas P. Skinner [MVP]: "Re: Accessing network file form ASP page"
- Next in thread: Tom Kaminski [MVP]: "Re: Accessing network file form ASP page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 4 Mar 2005 15:25:39 +0100
It's the same with a public share.
I've already tried it
"Thomas P. Skinner [MVP]" <tom@bu.edu> wrote in message
news:enGU7TMIFHA.1860@TK2MSFTNGP15.phx.gbl...
> He is not trying to access an Access file but rather a text file. I think
> the problem is using an administrative share. c$, rather than a public
> share.
>
> Set up a public share on the directory containing the file, e.g., pubdir,
> and access it as \\pubdir\filename.
>
> Tom Skinner [ C# MVP]
>
> "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> news:O86hROMIFHA.2956@TK2MSFTNGP12.phx.gbl...
> > "Lamberti Fabrizio" <lambu@from_italy.it> wrote in message
> > news:OsVzIyLIFHA.1996@TK2MSFTNGP12.phx.gbl...
> >> Hi all,
> >> I've to access to a network file from an asp pages.
> >>
> >> I've red a lot of things on old posts and on Microsoft article but I
> >> can't
> >> still solve my problem.
> >>
> >> I've got two server inside the same NT domain, each one has its own web
> >> server.
> >>
> >> The web server is always IIS 5.0.
> >>
> >> One of this web server have to access to a network file in writing mode
> >> inside the other server.
> >>
> >> I've tried using this code
> >> -------------------
> >> Set fso = Server.CreateObject("Scripting.fileSystemObject")
> >> uri=\\web21bcklab\c$\Inetpub\wwwroot\WebModules\Logger\debugLog.txt
> >> Response.Write fso.FileExists(uri)
> >> ---------------------
> >>
> >> the existence check returns always false. why ?
> >>
> >> How can I solve this problem ?
> >
> > http://www.aspfaq.com/show.asp?id=2168
> >
> > --
> > Tom Kaminski IIS MVP
> > http://www.microsoft.com/windowsserver2003/community/centers/iis/
> > http://mvp.support.microsoft.com/
> > http://www.iistoolshed.com/ - tools, scripts, and utilities for running
> > IIS
> >
> >
>
>
- Next message: Tom Kaminski [MVP]: "Re: Accessing network file form ASP page"
- Previous message: Thomas P. Skinner [MVP]: "Re: Accessing network file form ASP page"
- In reply to: Thomas P. Skinner [MVP]: "Re: Accessing network file form ASP page"
- Next in thread: Tom Kaminski [MVP]: "Re: Accessing network file form ASP page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]