TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Manoj Bisht
NA
145
0
Move content from one directory into another directory
Jan 7 2008 4:34 AM
Hello Friends,
I want to copy the contents(subdirectories and files) from source folder into destination folder.
Here is my code ...........
DirectoryInfo dir=new DirectoryInfo(MapPath(".")+"\\"+"Images");
dir.MoveTo(MapPath(".")+"\\"+"Hello");
and also I've set <identity impersonate="true" /> in web.config
The error i'm getting is given below...
Access to the path "c:\inetpub\wwwroot\Rough\Images" is denied
Reply
Answers (
1
)
Global Application Class
How to use an asp.net WebUserControl on ASP 3.0 web page?