Ftp syncronization between local and remote storage

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
wedb
Posts: 9
Joined: Fri Dec 02, 2005 5:40 pm

Ftp syncronization between local and remote storage

Post by wedb »

I normally work in a local repository for a project, I add files, maybe rename other files, move some others, delete something.

After this, I have to do it again in the remote repository using FTP interface and finally I have to upload the "new" files.

I really wish that there was some kind of synchronizaion mechanism, maybe not a perfect one (meaning that if in doubt it would refresh the whole remote repository) maybe using the file size as a marker to see if files are different (so two files with the same name and same len are equal)

This, together with making optional the "overwrite message", volud make my life much better.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

You can't check filesizes when comparing local and remote files, due to the difference in the carriage-return characters. I won't be nerdy and explain, but this affects the CRC value too. Believe it or not, this also affects (indirectly) the timezone and file/date, so not even they can be accurately compared.

There are tools to help syncronisation, but I agree, it would be nice for WeBuilder (et al) to help in this area.

If you rename / move files, then unless there is a journal or log, then no syncronisation tool will effectively syncronise. By this, I mean if you rename a 1MB file, if you syncronise, most tools will delete and reupload the renamed 1MB file, rather than simply rename whats already up there.
wedb
Posts: 9
Joined: Fri Dec 02, 2005 5:40 pm

FTP syncronization, another way to do it would be

Post by wedb »

To replay what is being done on the local repository in the remote one.
Let say I enable "activity recording" on the local repository/project, from then onward if I add a file it will be added , if I delete one it will be deleted, if I rename one it will be renamed, if I save one it will be saved and so on.

When i "commit changes to ftp" the activityon the local project will be mirrored on the remote side.

Yes, even this one may have some faults, but it is better than nothing !
Post Reply