Kristof posted on March 26, 2010 17:57

One of the issues with FTPSync is that its sync algorithm is file based, not directory based. As a result, empty directories are not transferred. This seems to be increasingly a problem lately, as some frameworks, blog engines, etc. rely on their directory structure, even if directories are empty.

For this reason, I've raised my task to change sync algorithm to the top of my list.

In the mean time, if you are affected, and if source of your transfer is file system, you can work around this problem by using a simple utility, I've called FTPSync Dummy Files (FSDF) tool - it scans a directory structure and adds ftpsync.dummy file in every empty directory, ensuring that all your directories will be transferred.

To use this tool:

  • download and unpack FSDF.zip file (ideally in a directory where you keep FTPSync)
  • call FSDF.exe <directory> before calling FTPSync, where <directory> is directory specified in your FTPSync's INI file's Source Dir parameter (e.g.: FSDF C:\My\Source\Dir)

Calendar

«  February 2012  »
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011
View posts in large calendar

Blog search

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Copyright © 1996-2012 Krištof Gajšek