Copy Folders via ASP.NET

J

Johnny Fugazzi

I have a relatiovely simple need.

I would like to have a webpage that a user can go to, fill out a couple of
fields, and then hit OK where the result is that a Folder Template is copied
and a new folder is created. The folders in question are on a IIS based
FTP server.

I am locking down the folder structure in an attempt to keep users from
creating tons of oddly named and managed folders. Instead, I would like all
new folder to be copies of a template that has the correct folder
permissions for each subfolder.

In general, this is easy. Use XCOPY, right? Well, I want to be able to do
it from a webpage.

Can anyone point me in the right direction? I know that System.IO.Directory
can create and read directories... but there is nothing there to copy a
directory, let alone keep the perms in tact.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top