Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

hebo209@126.com

Synchronizing folders by timestamp issue

Hello, Administrator.

I currently have the following requirement:
I need to synchronize a local Windows directory to a remote FTP server, only syncing files and folders whose creation time is later than 2025-09-27.
I'm using a command similar to this:

synchronize remote -filemask="*>=2025-09-27" "D:\test02" "/MES/test/test002"

In my local directory, there are both files and folders created before and after 2025-09-27.
When I run this command, I observe that:
Files and folders created after 2025-09-27 are synchronized correctly.
However, folders created before 2025-09-27 are also being synchronized—but only as empty directories (the old files themselves are not transferred).
This behavior deviates from my requirement. I only want to sync files and folders created after 2025-09-27, including their contents, and skip any folders that don’t contain qualifying items.

How should I adjust my command to achieve this?

Below is the structure of my local directory:

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2025/9/11 16:35 t
d----- 2025/9/28 17:21 test
-a---- 2025/9/28 16:43 17 123.txt
-a---- 2025/8/24 15:44 30 cmd_start_for.ini
-a---- 2024/5/25 8:22 12288 DumpStack.log
-a---- 2024/8/19 15:32 2664 https_sunlogin.oray.com.localstorage