|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
using file system in web siteHi,
This is may be a strange question, but I started just now to develop Web services. I try to develope a ASP.NET Web service. This service uses a normal file system of .NET and work well in my computer (at localhost). When I copied this service to my WEB site, i can't use any file system function (FreeFile, FileOpen e.t.c). What should I use instead?? Thanks Asher When you say you cant use it, what happens ?
Show quoteHide quote "asherLaci" <asher***@013.net> wrote in message news:1164635551.184643.223830@45g2000cws.googlegroups.com... > Hi, > > This is may be a strange question, but I started just now to develop > Web services. > > I try to develope a ASP.NET Web service. This service uses a normal > file system of .NET and work well in my computer (at localhost). When I > copied this service to my WEB site, i can't use any file system > function (FreeFile, FileOpen e.t.c). > > What should I use instead?? > > Thanks > > Asher > Goofy wrote:
Show quoteHide quote > When you say you cant use it, what happens ? hi Goofy ,> > > "asherLaci" <asher***@013.net> wrote in message > news:1164635551.184643.223830@45g2000cws.googlegroups.com... > > Hi, > > > > This is may be a strange question, but I started just now to develop > > Web services. > > > > I try to develope a ASP.NET Web service. This service uses a normal > > file system of .NET and work well in my computer (at localhost). When I > > copied this service to my WEB site, i can't use any file system > > function (FreeFile, FileOpen e.t.c). > > > > What should I use instead?? > > > > Thanks > > > > Asher > > thanks for your quick response. I have a little progres in my investigation. By using 'CurDir' in the server I found out, that the default directory is "c:\windows\system32\inetrsrv\", where I am definitly not allowed to write anything. How can I find out the full path name of my Web site in this server? thanks asher Response.Write(Server.MapPath("./"))
Steve Ray Irvin asherLaci wrote: Show quoteHide quote > Goofy wrote: > > When you say you cant use it, what happens ? > > > > > > "asherLaci" <asher***@013.net> wrote in message > > news:1164635551.184643.223830@45g2000cws.googlegroups.com... > > > Hi, > > > > > > This is may be a strange question, but I started just now to develop > > > Web services. > > > > > > I try to develope a ASP.NET Web service. This service uses a normal > > > file system of .NET and work well in my computer (at localhost). When I > > > copied this service to my WEB site, i can't use any file system > > > function (FreeFile, FileOpen e.t.c). > > > > > > What should I use instead?? > > > > > > Thanks > > > > > > Asher > > > > > hi Goofy , > > thanks for your quick response. > I have a little progres in my investigation. By using 'CurDir' in the > server I found out, that the default directory is > "c:\windows\system32\inetrsrv\", where I am definitly not allowed to > write anything. How can I find out the full path name of my Web site > in this server? > > thanks > > asher |
|||||||||||||||||||||||