Synchronize issue - copies all but loops overwritting all
Windows Server 2003 SP3
WinSCP 4.19
Using windows .bat file to call winSCP with console and script method to connect, am using stored SFTP session details (done through GUI) to connect with.
Remote server is Linux, local is Windows.
Scheduled daily sync of remote to local.
Remote server files include timestamps in filenames which do not show correctly on windows OS (show wrong characters instead of time part of filename), but they do show correctly through winSCP app... need to learn how to overcome this issue as I think this is the root cause of my issues:
Remote file filename to download = filename_2009-05-28_10:08:12.bz2
Local file filename after download = filename_2009-05-28_10%3A08%3A12.bz2
(I think I need to get the ":" removed from the remote source files filenames so that sync works correctly).
ISSUE IS - Synchronise local -criteria=size job copies all folders/files ok but when completed loops back and starts re-downloading and copying over the files it already downloaded... this continues forever in a never ending loop.
On the downloaded saved files the modified date is correct (source file created date) and the created date is the date of download.
Any help greatly appreciated!
WinSCP 4.19
Using windows .bat file to call winSCP with console and script method to connect, am using stored SFTP session details (done through GUI) to connect with.
Remote server is Linux, local is Windows.
Scheduled daily sync of remote to local.
Remote server files include timestamps in filenames which do not show correctly on windows OS (show wrong characters instead of time part of filename), but they do show correctly through winSCP app... need to learn how to overcome this issue as I think this is the root cause of my issues:
Remote file filename to download = filename_2009-05-28_10:08:12.bz2
Local file filename after download = filename_2009-05-28_10%3A08%3A12.bz2
(I think I need to get the ":" removed from the remote source files filenames so that sync works correctly).
ISSUE IS - Synchronise local -criteria=size job copies all folders/files ok but when completed loops back and starts re-downloading and copying over the files it already downloaded... this continues forever in a never ending loop.
On the downloaded saved files the modified date is correct (source file created date) and the created date is the date of download.
Any help greatly appreciated!