Prevent repeated uploads

Hi, is there a way to prevent repeating the upload of a file already uploaded from an Android phone? My wife keeps all her pictures in her phone, I’ve had to reset a couple of times Synctrayzor and all the old pictures keep uploading again, is there a way to prevent this? (do not suggest deleting the pictures in the phone once uploaded… those who are married should understand). Thanks.

It sounds as if you rely on ignoreDelete. Is this correct? If yes, then no, you cannot reset the database and prevent those files from being re-uploaded. This is because all the information about which files have been deleted is in fact stored inside the database. We’re talking about the database on the device, where ignoreDelete is enabled.

Thanks, not sure I understand correctly. Let me ask in a different way: is there a setting in an Android phone that would prevent the Android Syncthing from uploading the same picture twice, even if the target computer does not have the upload information?

The purpose of Syncthing is to keep things in sync, continuously, so both sides (or even more devices) have the same folder state. It sounds like your goal is something different, so Syncthing might not be the right tool for the job actually.

There may be some options that you could use to shoehorn it into what you need, but in order to suggest that, we need a clearer picture of what you want to achieve. Could you please describe the whole process in more detail? (I don’t understand fully, despite being married.)

The purpose is to prevent my wife’s phone from uploading the same picture twice if (for whatever reason) I reset the synchronization process on the receiving computer.

Can you post some screenshots to better understand what the problem is about? What do you mean exactly by “reset the synchronisation process”?

You’re saying what should not happen, but I’m missing the story what should happen. What do you mean by “resetting” the synchronization? If the picture is on the phone and you want the folder synchronized, the goal is definitely to have it on the computer as well. Why should it not sync certain pictures? And if they had previously been synced, what should have happened to them on the computer?

1 Like

For example, when reinstalling the PC. If a phone has old pictures in it, it will upload them again. I want to avoid that.

Then your goal is in fact not “synchronizing” these folders. I don’t see a nice solution to that problem using only Syncthing.

1 Like

I’m afraid I don’t agree, the goal is not to synchronize twice the same content.

Synchronizing means making both ends have the same contents, at least that’s how Syncthing interprets the term. If the files are on one device, they should end up on the other. Call it what you want, but that’s the purpose of Syncthing. Sorry if that doesn’t match your expectations. You may simply need a different tool to achieve a one-time transfer of the files.

1 Like

I think “File Versioning, Staggered File Versioning” might do the trick. Again, thanks for your time, I appreciate it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.