Copying files programmatically

  • Thread starter Thread starter Mike P
  • Start date Start date
M

Mike P

I have been asked to create an application that copies folders on a
network from one location to another, based upon a text file on the
network that lists folder name, destination, and copy frequency (daily,
weekly or monthly).

Does anybody have any good ideas about how I could go about doing this?
 
I have been asked to create an application that copies folders on a
network from one location to another, based upon a text file on the
network that lists folder name, destination, and copy frequency (daily,
weekly or monthly).

Does anybody have any good ideas about how I could go about doing this?

*** Sent via Developersdexhttp://www.developersdex.com***

I prefer writing a batch file which will be triggered by scheduled
tasks.

If you want an *application* in C#, you need to put a watch for a
file, get modified event, and trigger copy of files....

watcher is explained at
http://www.codeproject.com/KB/files/MonitorFolderActivity.aspx

Copying and deleting files http://www.devasp.net/net/articles/display/623.html

You need to tailer both the logic and write the program

Hope this is helpful

-Cnu
 
Back
Top