change "overwrite if newer" to "overwrite if different"

For the other topic
Post Reply
gvvsss
Posts: 56
Joined: Wed Jan 23, 2013 5:03 pm

change "overwrite if newer" to "overwrite if different"

Post by gvvsss » Wed Jan 23, 2013 9:01 pm

Hi

I observed that UC offers to overwrite an existing file in case of file collision. It offers to overwrite the existing file "only if" "newer than the date modified" instead of "different" (as it is offered in Supercopier).

This can be of problem, because most of the times, I would like to replace the "Sality" infected executables in my thumb drive with the original exe files. Presently, using supercopier, when I copy files from my HDD (Originals) to my Pendrive the infected files are replaced by the original files.

But, when I do the same with Ultracopier, the infected files are not overwritten by Originals as they are "New" compared to the originals.

Can we please have this option like supercopier please ....

What I would like to see in case of file collision is like this:
---Overwrite if different
---Always overwrite it different
Attachments
Supercopier-file collision.png
Overwrite if Different-Supercopier
(11.5 KiB) Not downloaded yet

User avatar
alpha_one_x86
Site Admin
Posts: 1356
Joined: Sun Oct 26, 2008 9:09 am
Contact:

Overwrite if last modification dates are different

Post by alpha_one_x86 » Wed Jan 23, 2013 11:00 pm

I have do: "Overwrite if last modification dates are different". It's the same options than "overwrite if different" in supercopier.
Attachments
d6.png
(32.06 KiB) Not downloaded yet
Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger

gvvsss
Posts: 56
Joined: Wed Jan 23, 2013 5:03 pm

Re: change "overwrite if newer" to "overwrite if different"

Post by gvvsss » Fri Jan 25, 2013 3:57 pm

"Modification Date" is not same as "Checksum"

Supercopier verifies "Checksums" of the files and determines that the files are different.

Two files modified on the same day can indeed be different...

User avatar
alpha_one_x86
Site Admin
Posts: 1356
Joined: Sun Oct 26, 2008 9:09 am
Contact:

Re: change "overwrite if newer" to "overwrite if different"

Post by alpha_one_x86 » Fri Jan 25, 2013 4:13 pm

Extracted from code of Supercopier:

Code: Select all

// Deux fichiers sont considйrйs identiques lorsque ils ont la mкme taille et la mкme date de derniиre modif
Result:=(SrcSize=DestSize) and (SrcAge=DestAge);
Translation of the comment:

Code: Select all

// Both files are same when have the same size and same modification date
gvvsss wrote:Two files modified on the same day can indeed be different...
Modification date is timestamps, and need have exact match (at the second well, example: file 1: 12 Oct 2012 at 15:30:21, file 2: 12 Oct 2012 at 15:30:22 is not a same).

I have noted change the text to "overwrite if different" for the next version, and check the size match too.
Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger

gvvsss
Posts: 56
Joined: Wed Jan 23, 2013 5:03 pm

Re: change "overwrite if newer" to "overwrite if different"

Post by gvvsss » Fri Jan 25, 2013 5:04 pm

alpha_one_x86 wrote:Extracted from code of Supercopier:

Code: Select all

// Deux fichiers sont considйrйs identiques lorsque ils ont la mкme taille et la mкme date de derniиre modif
Result:=(SrcSize=DestSize) and (SrcAge=DestAge);
Translation of the comment:

Code: Select all

// Both files are same when have the same size and same modification date
gvvsss wrote:Two files modified on the same day can indeed be different...
Modification date is timestamps, and need have exact match (at the second well, example: file 1: 12 Oct 2012 at 15:30:21, file 2: 12 Oct 2012 at 15:30:22 is not a same).

I have noted change the text to "overwrite if different" for the next version, and check the size match too.
Thank you very much for the clarification. Much appreciated.

Post Reply