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.
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:
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
)