SR for Scripting sync (file is detected as new but not updat
Version 5.1.2
Problems founded in version 5.1.0
I have a very simple script that is synching a remote folder on a Linux machine to a local folder on a windows server 2008. (Remote->local).
If a local subfolder is deleted, it will properly sync, but if only a remote file changed, it is not updated localy..
*However, the sync option from the GUI seems to be working properly and if I look into the log, I see the modified file is detected as new but it is not copied?
Script:
(SFTPCommand.txt)
----------------------------------------
Open eblain@anxlysis.isp.novavision.ca
option transfer binary
synchronize local "D:\Backup\anxlysis" /srv/public/
----------------------------------------
(Launcher.bat)
----------------------------------------
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /script="D:\Program Files\backup_anxl
ysis\SFTPCommand.txt" /parameter
----------------------------------------
LOG >3Mo so I have included only the begining and the related information:
. 2012-12-17 15:41:15.486 Collecting synchronization list for local directory 'D:\Backup\anxlysis\novavision' and remote directory '/srv/public/novavision', mode = 1, params = 2
. 2012-12-17 15:41:15.487 Local file 'D:\Backup\anxlysis\novavision\.' [2012-12-17T20:39:58.045Z] [0] excluded from synchronization
. 2012-12-17 15:41:15.487 Local file 'D:\Backup\anxlysis\novavision\..' [2012-12-17T20:39:58.045Z] [0] excluded from synchronization
. 2012-12-17 15:41:15.487 Local file 'D:\Backup\anxlysis\novavision\00085D13F85B.cfg' [2012-10-11T17:04:08.000Z] [7888] included to synchronization
.............etc
. 2012-12-17 15:41:15.489 Local file 'D:\Backup\anxlysis\novavision\aastra.cfg' [2012-12-17T19:38:42.000Z] [4690] included to synchronization
..............Etc
> 2012-12-17 15:41:15.748 Type: SSH_FXP_OPENDIR, Size: 46, Number: 1825035
< 2012-12-17 15:41:15.749 Type: SSH_FXP_STATUS, Size: 24, Number: 1824772
. 2012-12-17 15:41:15.749 Discarding reserved response
< 2012-12-17 15:41:15.751 Type: SSH_FXP_HANDLE, Size: 13, Number: 1825035
> 2012-12-17 15:41:15.751 Type: SSH_FXP_READDIR, Size: 13, Number: 1825292
< 2012-12-17 15:41:15.755 Type: SSH_FXP_NAME, Size: 2481, Number: 1825292
> 2012-12-17 15:41:15.755 Type: SSH_FXP_READDIR, Size: 13, Number: 1825548
< 2012-12-17 15:41:15.757 Type: SSH_FXP_STATUS, Size: 28, Number: 1825548
< 2012-12-17 15:41:15.757 Status code: 1
> 2012-12-17 15:41:15.757 Type: SSH_FXP_CLOSE, Size: 13, Number: 1825796
. 2012-12-17 15:41:15.773 Remote file '/srv/public/novavision/aastra.cfg' [2012-12-17T20:41:01.000Z] [4683] is modifed comparing to local file 'D:\Backup\anxlysis\novavision\aastra.cfg' [2012-12-17T19:38:42.000Z] [4690]
. 2012-12-17 15:41:15.776 Local file 'D:\Backup\anxlysis\novavision\temp' [2012-12-17T20:05:42.227Z] [0] is new
Problems founded in version 5.1.0
I have a very simple script that is synching a remote folder on a Linux machine to a local folder on a windows server 2008. (Remote->local).
If a local subfolder is deleted, it will properly sync, but if only a remote file changed, it is not updated localy..
*However, the sync option from the GUI seems to be working properly and if I look into the log, I see the modified file is detected as new but it is not copied?
Script:
(SFTPCommand.txt)
----------------------------------------
Open eblain@anxlysis.isp.novavision.ca
option transfer binary
synchronize local "D:\Backup\anxlysis" /srv/public/
----------------------------------------
(Launcher.bat)
----------------------------------------
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /script="D:\Program Files\backup_anxl
ysis\SFTPCommand.txt" /parameter
----------------------------------------
LOG >3Mo so I have included only the begining and the related information:
. 2012-12-17 15:41:15.486 Collecting synchronization list for local directory 'D:\Backup\anxlysis\novavision' and remote directory '/srv/public/novavision', mode = 1, params = 2
. 2012-12-17 15:41:15.487 Local file 'D:\Backup\anxlysis\novavision\.' [2012-12-17T20:39:58.045Z] [0] excluded from synchronization
. 2012-12-17 15:41:15.487 Local file 'D:\Backup\anxlysis\novavision\..' [2012-12-17T20:39:58.045Z] [0] excluded from synchronization
. 2012-12-17 15:41:15.487 Local file 'D:\Backup\anxlysis\novavision\00085D13F85B.cfg' [2012-10-11T17:04:08.000Z] [7888] included to synchronization
.............etc
. 2012-12-17 15:41:15.489 Local file 'D:\Backup\anxlysis\novavision\aastra.cfg' [2012-12-17T19:38:42.000Z] [4690] included to synchronization
..............Etc
> 2012-12-17 15:41:15.748 Type: SSH_FXP_OPENDIR, Size: 46, Number: 1825035
< 2012-12-17 15:41:15.749 Type: SSH_FXP_STATUS, Size: 24, Number: 1824772
. 2012-12-17 15:41:15.749 Discarding reserved response
< 2012-12-17 15:41:15.751 Type: SSH_FXP_HANDLE, Size: 13, Number: 1825035
> 2012-12-17 15:41:15.751 Type: SSH_FXP_READDIR, Size: 13, Number: 1825292
< 2012-12-17 15:41:15.755 Type: SSH_FXP_NAME, Size: 2481, Number: 1825292
> 2012-12-17 15:41:15.755 Type: SSH_FXP_READDIR, Size: 13, Number: 1825548
< 2012-12-17 15:41:15.757 Type: SSH_FXP_STATUS, Size: 28, Number: 1825548
< 2012-12-17 15:41:15.757 Status code: 1
> 2012-12-17 15:41:15.757 Type: SSH_FXP_CLOSE, Size: 13, Number: 1825796
. 2012-12-17 15:41:15.773 Remote file '/srv/public/novavision/aastra.cfg' [2012-12-17T20:41:01.000Z] [4683] is modifed comparing to local file 'D:\Backup\anxlysis\novavision\aastra.cfg' [2012-12-17T19:38:42.000Z] [4690]
. 2012-12-17 15:41:15.776 Local file 'D:\Backup\anxlysis\novavision\temp' [2012-12-17T20:05:42.227Z] [0] is new