synchronizing script stops work - I was using it for ages
Hello Martin,
I was using this synchronizing script for ages and it worked fine. It should synchronize files, folder, subfolders of local directory to remote(server) with mirror - so copy those existing files that are with newest timestamps AND ALSO copy all files/folders that are not on remote.
Last days I found out that some of my folders were not synchronized (I am not 100% sure if I ran the remote windows server Update or I updated the Bitvise SSH server - probably yes) But from this moment the synchronizing script mentioned above stops to work. It says: Nothing to synchronize even if there are new folders and files.
I review almost all the forums with synchronizing and I can see that a lot of errors that people made is (from log file) there stayed "ExistingOnly mode" in their log files - that means the script was not correctly coded. But as I said I have never changed my code and it was working. And now I tested it and every time in my log file I can see existing only mode.
Is there any default settings for synchronization? Or what switch exactly I should use to synch also new files/folders?
Thank you
I was using this synchronizing script for ages and it worked fine. It should synchronize files, folder, subfolders of local directory to remote(server) with mirror - so copy those existing files that are with newest timestamps AND ALSO copy all files/folders that are not on remote.
option batch off option confirm off open sftp://user:pwd@url -rawsettings SendBuf=0 SSHsimple=0 PingType=1 PingIntervalSecs=10 Compression=1 -timeout=10 -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" option transfer binary option exclude "[~]*" synchronize remote -mirror "d:\B I Z N I S\ine" "/cecho/Cloud" Close
Last days I found out that some of my folders were not synchronized (I am not 100% sure if I ran the remote windows server Update or I updated the Bitvise SSH server - probably yes) But from this moment the synchronizing script mentioned above stops to work. It says: Nothing to synchronize even if there are new folders and files.
I review almost all the forums with synchronizing and I can see that a lot of errors that people made is (from log file) there stayed "ExistingOnly mode" in their log files - that means the script was not correctly coded. But as I said I have never changed my code and it was working. And now I tested it and every time in my log file I can see existing only mode.
Is there any default settings for synchronization? Or what switch exactly I should use to synch also new files/folders?
Thank you