|
-
Jul 20th, 2011, 09:46 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] IDEAS NEEDED: Copying a file to many remote computers
OK, I have to periodically (2-3x/wk) copy a file or two to approximately 70 remote computers. I have full control of the remote computers and they all follow the same directory structure and security permissions. I have asked in the General PC forum to see if anybody had any ideas, but I think I might just develop my own solution.
I need to accomplish the following:
- Determine if the file is in use, if it is - Kill it
- Rename the current file (perhaps the extension to the date ex. 20110720 for 7/20/11)
- Copy over the new file
- Receive confirmations/errors for each remote location
The program will only need to be installed on two computers who will have this ability. I am thinking I could easily keep a database table of the remote locations and just loop through the records in order to get the destination. My concern is whether or not I should use My.Computer.CopyFile to accomplish the remote copying. Is there a better class that you know of?
Do you have a better idea? Am I re-inventing the wheel? Do you know a program that does this already? Any ideas are much appreciated.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|