I am working on a larger VB.Net project that requires the ability to backup open files. I need a VB.Net class written that allows me to copy a file that is open with an exclusive lock (An open Access .mdb is a good example of this). I have attempted to briefly research how to do this without success. However, commerical backup applications such as Veritas and ArcServe provide this functionality, therefore I know it is possible.
## Deliverables
* The class should be name "FileBackup" and have a single method named "CopyFile" which will return a True/False success code. The properties are "Source" (The fullname and path of the file, a string) and "Target" (The fullname and path of the destination file, a string)
* You will provide me the full source.
* It must work on WindowsNT 4.0, Windows 2000, WindowsXP Professional and Windows 2003.
* It must work with both FAT and NTFS filesystems.
* The backup process must be certain not to corrupt either the source or target files.
* Security descriptors must also be copied over with the target file (NTFS).
* The class must be multithread safe.
* You must trap for and handle errors.
* You cannot use third-party controls or calls to .dlls other than those included by default on the above listed operating systems or within the .Net framework. If you call your own .dlls, they must also be written in VB.Net and I must receive the uncomplied source.
* You code must be well-commented in English.
* All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
WindowsNT 4.0, Windows 2000, WindowsXP Professional and Windows 2003