Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > To add folder in server thru' browser

Thread Tools

To add folder in server thru' browser

Posts: n/a
i m trying to create a folder in the web server thru browser. i have
used a text box and a button in text box user wud give the name of
folder. i m tracking the path bystrPath =
Server.mapPath(Request.ApllicationPath) + "\\" + txtFolder.txt. and ten
trying to create a folder by Directory.CreateDirectory(strPath) but i m
getting an error : System.UnauthorizedAccessException: Access to the
path "d:\inetpub\wwwroot\piyush0604\piyush" is denied
help me out,
bye ,

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Browse to Folder instead of Folder + File Dan ASP .Net 7 10-28-2010 07:39 AM
VS2005 "Add Web Reference" "Unable to connect to the remote server", then successfully displays the service info. Add reference button is disabled. Connecting to WS outside of VS is fast. BobC ASP .Net Web Services 1 01-25-2007 02:27 PM
For share a folder in the network , but the folder only allow by password holder MCSE 55 04-14-2004 11:56 PM
_vti_cnf folder in the bin folder-- a problem? William LaMartin ASP .Net 1 11-10-2003 03:41 AM
help: setting web folder as application folder in server THY ASP .Net 3 10-16-2003 01:18 AM