Home All Groups Group Topic Archive Search About

using file system in web site

Author
27 Nov 2006 1:52 PM
asherLaci
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

Author
27 Nov 2006 3:26 PM
Goofy
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
>
Author
28 Nov 2006 6:25 AM
asherLaci
Goofy wrote:
Show quoteHide quote
> 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
Author
28 Nov 2006 9:37 AM
Master Programmer
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
Author
28 Nov 2006 10:24 AM
asherLaci
Thnaks, it just work properly
Asher
Author
28 Nov 2006 10:24 AM
asherLaci
Thnaks, it just work properly
Asher