1

the problem may be very common.

When I transfer files to my FTP server all the files are transferred instead only the changed ones: For example one file on my disk has 7556 bytes and on ftp server it is 7305 bytes (same file, but different way of calculating it on both sides). So that it gets transferred even though I haven't changed there anything.

The same thing is with time difference: if I'm a few hours behind server's time my files are treated as older (assuming of course that the changes were made within those few hours) and don't get transferred.

So what I currently do is either transferring them all, or selecting them manually. But the downsides are obvious: it costs transfer limit and time and in the second case I might forget something and it also takes time.

How do you deal with it? I know there are services that host svn repos and then synchronise with ftp server. But I'm looking for a simple solution to that. I'm working on Windows XP and WAMP and using FileZilla currently. I'm looking for a free solution.

2
  • I've been using the free version of SyncBack to synchronize my files using FTP across my network, and it seems to handle situations like this fairly well. SyncBack relies on file timestamps, so you need to set your server up properly as well. Jan 12, 2012 at 14:06
  • Wow thanks. I'm using it already for synchronising folders on my local system. Didn't see that it had this "Expert" button where all FTP options are. Thanks! And I can even point a folder on FTP server that I want to synchronise my folder with. Great.
    – cradox23
    Jan 12, 2012 at 14:30

2 Answers 2

2

No need for a different FTP program - you can do this with FileZilla. In the Transfer menu, select "Default File Exists Options". Set Uploads to "Overwrite file if source file newer".

enter image description here

Here's the part you may have missed! Note the warning about time zones. Because your server is in a different time zone than your workstation, set a timezone offset in the site manager.

enter image description here

3
0

Maybe you would prefer a tool like ftpsync

FTPSync.pl is synchronizes a local directory tree and a remote FTP directory tree. It was initially written to automize web publishing, but other purposes might be fulfilled also.

I haven't tried it, this isn't a recommendation.

I'd search for "FTP sync" and evaluate a variety of tools.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .