[thelist] ASP + fileSystemObject + IIS5

Robert Goodyear thelist at lists.evolt.org
Sun Sep 8 19:04:01 2002


--- Jason Hepi <contact@hepi.fsnet.co.uk> wrote:
> Hi All,
>
> Can anyone help me to get the fileSystemObject
> working correctly with IIS5.

>  Set fs =
> server.CreateObject("scripting.FilesystemObject")
>  Set newXML =
>
fs.CreateTextFile("http://localhost/dev/client/asp/xml/timetable.xml",
> true)

That's not a valid FileSystem object reference. You
could either use the Server.MapPath function or
preface it explicitly with the physical root.

/rg

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com