Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: creating a file in network drive


Message #1 by "Manishk_agarwalla" <Manishk_agarwalla@i...> on Thu, 11 Apr 2002 09:46:24 +0530
Hi,
Thanks in advance.
My problem is,
I am not able to create a file in network share though I am able to
do so in my local drive using system.IO namespace in 'C#' .

Infact in the following sample code,


			bool b=3DSystem.IO.Directory.Exists("C:\\");
			bool b1=3DSystem.IO.Directory.Exists("F:\\");
			Response.Write(b);
			Response.Write("<br>");
			Response.Write(b1);


I just wanted to test whether a network folder exists or not.
It says that b1 is 'false' and b is 'true'.Though I have mapped F drive 
.

Is there any security issues involved.
If so where should I specify user id and password.

Thanks & Regards,
Manish
Infosys Tech. Ltd.

  Return to Index