Copy Folders via ASP.NET

  • Thread starter Thread starter Johnny Fugazzi
  • Start date Start date
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
 
Back
Top