p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   How to Create new folder(directory) in Srever ? (http://p2p.wrox.com/showthread.php?t=42333)

Raam May 10th, 2006 01:07 AM

How to Create new folder(directory) in Srever ?
 
hi 2 everybody,

first of all i will explain my requirement.....

I my project(web), i need to create new folders(directories) in the server(not in my hard disk). I know how to create new folders in local hard disk with "Createdirectory" method.
Now my problem is, how can i create new folders in server? Am I require any special permissions? Is there any built in method like , "System.IO.Directory.CreateDirectory"?.

please help me...

thanks in advance.




jbenson001 May 10th, 2006 12:48 PM

You need to map a drive to the server then use that drive letter and path to create the directory with the .CreateDirectory method.



All times are GMT -4. The time now is 12:44 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.