Synchronize script problem with include mask
Hello,
we use WinSCP (4.1.9) to synchronize a local and a remote FTP directory which is working fine so far. Now we got some new subdirectories where we have problems with synchronization. We want to synchronize every file that begins with "irr" in every directory.
The problem is that it doesn't synchronize the files in subdirectories, only in the root directory.
Here's our script:
I also tried the following with the same result:
It only works if I synchronize the subfolders directly.
What am I doing wrong?
we use WinSCP (4.1.9) to synchronize a local and a remote FTP directory which is working fine so far. Now we got some new subdirectories where we have problems with synchronization. We want to synchronize every file that begins with "irr" in every directory.
The problem is that it doesn't synchronize the files in subdirectories, only in the root directory.
Here's our script:
# Synchronisation Internet<->Lokal # Automatically answer all prompts negatively not to stall # the script on errors option echo on option batch on # Disable overwrite confirmations that conflict with the previous option confirm off # option include "irr*; /*" # Connect open FTP # Synchronize synchronize both "E:\localpath\" /var/www/files/ # Disconnect close # Exit WinSCP exit
It only works if I synchronize the subfolders directly.
What am I doing wrong?