Hi Kelly, I really gave this a lot of thought and even implemented a solution using actual dates converted into seconds, but for several reasons found it less than ideal.kdjanz wrote: ↑Mon Sep 20, 2021 4:19 amI was also thinking of something even more basic:
What if the first time a file was saved it was ”Data0000000000000001.dat” and then each further save from any source just increments that by 1. You don’t really need to care about the date or time so long as you know that you have the newest master data.
1. You need to constantly rename files (either with the date as seconds or a sequential number).
2. That means you also have to keep track of old file names and delete them when they become outdated ie. when you upload mydata5 you need to delete mydata4. Using date as seconds in the filename is even trickier.
Then I hit on a LC method of converting local time to zulu time (used by dropbox) and decided to go with that solution for 2 reasons:
1. I don't have to keep track of the sequencing -- the clock does it for me.
2. I don't have to rename any files (except the backup file I make) or delete older ones.
I'll be posting a full solution using file dates and a single naming scheme in the next few messages.
But many thanks for the suggestion. It was definitely worth looking into and probably taught me a lot about this file syncing challenge.
Mark