Important alert: (current site time 6/19/2013 10:44:06 PM EDT)
 

winzip icon

FileSync Utility v5 Unicode Enabled

Email
Submitted on: 7/9/2012 5:49:28 PM
By: Rde 
Level: Intermediate
User Rating: By 7 Users
Compatibility: VB 5.0, VB 6.0
Views: 4062
author picture
 
     Simple synchronize backups and remove duplicates utility

Added option to remove empty folders after delete operations
v3 adds the option to use file CRCs for exact matching - this helps
in situations where time stamps are different when files are still identical.
v4 updates the whole project to use the 'W' API functions to preserve unicode.
v5 fixes a bug introduced in v4


 
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.
  3. Scan the source code with Minnow's Project Scanner

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 52 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 Intermediate 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

5/22/2012 10:10:50 PMRde

BTW - this is very fast
(If this comment was disrespectful, please report it.)

 
5/25/2012 1:32:22 PMDave Carter

Very good tool, very fast and very handy, thanks Rohan :)
(If this comment was disrespectful, please report it.)

 
6/5/2012 8:42:10 PMfancytom

[FileSync Utility] is only work in [English OS] . It can not work out in any other country OS.
Please make It unicode . That is what I want to learn from you, Thanks you very much.

Name your folder's and file's name in [chinese-cht , chinese-simple , Korea , Japanese] like this:
繁體.ICO
简体.ICO
01 말도 안돼.ICO
っています.jpg


YOU will found when FindAllFiles(sPath As String) all the files in the A folder
that some chinese-cht chinese-simple Korea Japanese files name would fail and cause it to not
continue with the rest of the files.

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

 
6/9/2012 8:19:06 AMRde

answered fancytom by email with new unicode version but no response

will upload unicode version soon once I can comfirm it is working properly
(If this comment was disrespectful, please report it.)

 
6/11/2012 11:29:09 PMRde

Due to zero feedback Unicode may not work correctly - you may need to reset the font for the text fields within the IDE before compiling to enable Unicode?
(If this comment was disrespectful, please report it.)

 
6/12/2012 1:16:22 PMBonnie West

Very useful, nice job!
(If this comment was disrespectful, please report it.)

 
6/15/2012 11:10:31 PMRde

Thanks Bonnie

Happy coding,
Rd :)
(If this comment was disrespectful, please report it.)

 
6/17/2012 12:01:59 PMfancytom

I abandoned the [fancytom@hotmail.com] three year ago. Please email [x013579@hotmail.com].
My OS is Chinese TAIWAN. I heave been test your V4.
IN V4 -->If files name is in ENGLISH --> There is a littile bug:
http://airship.zxq.net/temp/Picture1.gif
http://airship.zxq.net/temp/Picture1 .gif

If
files name is in Chinese-Simple --> There is a littile bug:
http://airship.zxq.net/temp/Picture3.gif
http://airship.zxq.net/temp/Picture4 .gif

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

 
6/17/2012 12:18:48 PMfancytom

[Corrected ]
IN V4 -->If files name is in ENGLISH --> There is a littile bug:
http://airship.zxq.net/temp/Picture1.gif
http://airship.zxq.net/temp/Picture2 .gif

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

 
7/11/2012 8:46:54 AMCharles Aguiar

You code does not work with unicoded file names, not unicode content, but unicode characters, which are part of the file name. It gives a VB Err code 53, "File not found" error. As of yet, I have not seen anything out there that can copy a unicoded file name in VB6, API or otherwise. Best source yet, but cannot get it to work is:
http://www.unisuite.com/UnicodeTutorialVb.htm

(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.