Important alert: (current site time 7/15/2013 7:47:12 AM EDT)
 

winzip icon

_ UPDATED: C#.NET Multi-Threaded Folder Synchronization

Email
Submitted on: 2/25/2005 7:05:39 AM
By: BurningShadow 
Level: Advanced
User Rating: By 6 Users
Compatibility: C#
Views: 26187
 
     It is a multi-threaded program for synchronizing folders. It recognizes files as different when the size, last write time or attributes are different. NEW: The contents is also analyzed by the method you can choose (hash, byte by byte)! It also recognizes missing folders or files. To execute the application you need NGS_BrowseForFolder.dll. You can find it in the bin\release folder or download the source code (another submission of me in VB.NET). PLEASE VOTE.

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
// for :_ UPDATED: C#.NET Multi-Threaded Folder Synchronization
//**************************************
Although there is an about-box with a copyright of my company you can use it in anyway you want, but you have to remove any hint of me or my company!!!
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 7 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
2/26/2005 12:48:06 PMLeonard Sorgdrager

Looks great! Works wonders too. Thanks
(If this comment was disrespectful, please report it.)

 
5/18/2005 1:21:30 PMDriscollart

This looks to be better than many *COMMERCIAL* applications that I have seen. Good Job!
(If this comment was disrespectful, please report it.)

 
8/29/2005 3:44:11 AMSatya

I am not able to find the following NGS_BrowseForFolder.dll
(If this comment was disrespectful, please report it.)

 
1/15/2007 1:44:36 AMJry

I am not able to find the following NGS_BrowseForFolder.dll as well ...
(If this comment was disrespectful, please report it.)

 
3/27/2007 4:00:19 AMPSi_ENTiTY

I am not able to find the following NGS_BrowseForFolder.dll as well ...
That now makes 3 of us...
(If this comment was disrespectful, please report it.)

 
4/24/2007 3:26:34 PMBob Sommerville

If the DLL is not available this code should be removed.
(If this comment was disrespectful, please report it.)

 
4/30/2008 11:30:45 AMivan r

seems this is amazing but i haven't been able to make it run , i have the dll, but i´m receiving this error:
"Cross-thread operation not valid: Control 'sbMain' accessed from a thread other than the thread it was created on.", can you help me with this.

thanks a lot
(If this comment was disrespectful, please report it.)

 
4/30/2008 11:32:21 AMivan r

Cross-thread operation not valid: Control 'sbMain' accessed from a thread other than the thread it was created on.
(If this comment was disrespectful, please report it.)

 
8/28/2008 3:28:00 AMBenson

Looks great! Thanks~!

(If this comment was disrespectful, please report it.)

 
11/19/2008 1:22:31 AMBabu

I am not able to find the following NGS_BrowseForFolder.dll.

Please help me to find this.

Thanks
Babu
(If this comment was disrespectful, please report it.)

 
3/23/2009 5:54:01 AMDear

Thank for your code. it is useful for me
(If this comment was disrespectful, please report it.)

 
4/16/2009 4:22:58 PMDon Jones

I haven't been able to make this run , i´m receiving this error:
"Cross-thread operation not valid: Control 'sbMain' accessed from a thread other than the thread it was created on.", can you help me with this.

(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.