Syncronize problem

Advertisement

stefos
Joined:
Posts:
4
Location:
sweden

Syncronize problem

We have a number of clients connected to a common folder structure that syncs up their own files, and syncs down their own and others files.

The synchronization is carried out with the script, one script local to remote sync and one script for remote to local.

Each client has its own local area to put their files before sync to the joint surface.

Synchronization is the criterion of time. See the example "set WinSCPSwitches =-delete-criteria = time" after the "synchronize remote% WinSCPSwitches%"% share% "% Ftpfolder%".

This has worked for approximately 15 installations since 4 months with few exceptions when the files are not synchronized completely without reason. What can these errors be the cause? Does anybody have an idea?

Reply with quote

Advertisement

stefos
Joined:
Posts:
4
Location:
sweden

Re: Syncronize problem

martin wrote:

Please, can you be more specific about "files are not synchronized completely without reason"?
Until then, I can only point you to:
https://winscp.net/eng/docs/faq_synchronize

Sometimes on irregular basis does not the timestamp get updated on files that are synchronized but the information in the file is changed. However, the synchronization down always works, we can always verify that the correct file with correct date stamp be downloaded, however, it is not always the correct file because syncing up not worked as planned.

Our Configuration
Windows server 2008 R2 std
Core Server version 1.2, build 453. 64 bit. Lic number 1347008180
WIN SCP 4.3.9 build 181

Reply with quote

martin
Site Admin
martin avatar

Re: Syncronize problem

Can you provide a session log showing such incident? Also make sure you are using the latest version of WinSCP.

Reply with quote

stefos
Joined:
Posts:
4
Location:
sweden

Re: Syncronize problem

martin wrote:

Can you provide a session log showing such incident? Also make sure you are using the latest version of WinSCP.
Here is an example of a syncronize that we verified go wrong.

Searching for host...
Connecting to host...
Authenticating...
Using username "Atkins".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] Atkins@87.237.215.230
batch abort
confirm on
exclude *.dwl?; *.dwk?; *.bak; *.$$$; *.$A; *.AC$; *.BK?; *.DMP; *.ERM; *.ERR; *.SV$; *.TMP; *.TMP$; *.WBK; *.XLK; Thumbs.db
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\B\B-ritning' => Remote '/LB/B/B-ritning'
Nothing to synchronize.
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\E\E-ritning' => Remote '/LB/E/E-ritning'
Nothing to synchronize.
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\K\K-ritning' => Remote '/LB/K/K-ritning'
Nothing to synchronize.
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\N\N-ritning' => Remote '/LB/N/N-ritning'
Synchronizing...
Local 'C:\LB_SyncServer\Synkdata\LB\N\N-modell' => Remote '/LB/N/N-modell'
C:\LB_SyncServer\Synkdata\LB\N\N-modell\m630_57000P002.dgn | 165 KiB | 369,6 KiB/s | binary | 100%
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\S\S-ritning' => Remote '/LB/S/S-ritning'
Nothing to synchronize.
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\T\T-ritning' => Remote '/LB/T/T-ritning'
Nothing to synchronize.
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\Y' => Remote '/LB/Y'
Nothing to synchronize.
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\Z' => Remote '/LB/Z'
Nothing to synchronize.
Comparing...
Local 'C:\LB_SyncServer\Synkdata\LB\V\V-ritning' => Remote '/LB/V/V-ritning'
Nothing to synchronize.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

Re: Syncronize problem

That's not a session log file.

To generate session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

Reply with quote

stefos
Joined:
Posts:
4
Location:
sweden

Re: Syncronize problem

The log file is as follows:
M116i57ZZ01.dwg file has not been synchronized.
. 2013-04-22 10:07:00.906 Collecting synchronization list for local directory 'g:\Delgivning\LB\ZZ\ZZ-modell' and remote directory '/LB/ZZ/ZZ-modell', mode = 0, params = 3
. 2013-04-22 10:07:00.906 Local file 'g:\Delgivning\LB\ZZ\ZZ-modell\.' [2013-04-08T10:57:59.143Z] [0] excluded from synchronization
. 2013-04-22 10:07:00.906 Local file 'g:\Delgivning\LB\ZZ\ZZ-modell\..' [2013-04-08T10:57:59.143Z] [0] excluded from synchronization
. 2013-04-22 10:07:00.906 Local file 'g:\Delgivning\LB\ZZ\ZZ-modell\m116i57ZZ01.dwg' [2013-04-18T12:14:52.000Z] [509208] included to synchronization
. 2013-04-22 10:07:00.906 Local file 'g:\Delgivning\LB\ZZ\ZZ-modell\m116i57ZZ02.dwg' [2013-02-28T11:49:10.000Z] [415207] included to synchronization
. 2013-04-22 10:07:00.906 Local file 'g:\Delgivning\LB\ZZ\ZZ-modell\ZZ_Modellfilsförteckning' [2013-04-08T10:57:59.465Z] [30208] included to synchronization
. 2013-04-22 10:07:00.906 Listing directory "/LB/ZZ/ZZ-modell".
> 2013-04-22 10:07:00.906 Type: SSH_FXP_OPENDIR, Size: 25, Number: 46859
< 2013-04-22 10:07:00.937 Type: SSH_FXP_STATUS, Size: 24, Number: 46596
. 2013-04-22 10:07:00.937 Discarding reserved response
< 2013-04-22 10:07:00.953 Type: SSH_FXP_HANDLE, Size: 22, Number: 46859
> 2013-04-22 10:07:00.953 Type: SSH_FXP_READDIR, Size: 22, Number: 47116
< 2013-04-22 10:07:00.984 Type: SSH_FXP_NAME, Size: 410, Number: 47116
> 2013-04-22 10:07:00.984 Type: SSH_FXP_READDIR, Size: 22, Number: 47372
< 2013-04-22 10:07:01.016 Type: SSH_FXP_STATUS, Size: 28, Number: 47372
< 2013-04-22 10:07:01.016 Status code: 1
> 2013-04-22 10:07:01.016 Type: SSH_FXP_CLOSE, Size: 22, Number: 47620
. 2013-04-22 10:07:01.016 Local file 'g:\Delgivning\LB\ZZ\ZZ-modell\m116i57ZZ01.dwg' [2013-04-18T12:14:52.000Z] [509208] is modifed comparing to remote file '/LB/ZZ/ZZ-modell/m116i57ZZ01.dwg' [2013-03-21T11:27:42.000Z] [509208]
. 2013-04-22 10:07:01.016 Remote file '/LB/ZZ/ZZ-modell/m116i57ZZ02.dwg' [2013-02-28T13:49:10.000Z] [415207] is modifed comparing to local file 'g:\Delgivning\LB\ZZ\ZZ-modell\m116i57ZZ02.dwg' [2013-02-28T11:49:10.000Z] [415207]
. 2013-04-22 10:07:01.016 Remote file '/LB/ZZ/ZZ-modell/ZZ_Modellfilsförteckning.xls' [2013-04-08T13:58:00.000Z] [30208] is modifed comparing to local file 'g:\Delgivning\LB\ZZ\ZZ-modell\ZZ_Modellfilsförteckning.xls' [2013-04-08T10:57:59.465Z] [30208]
. 2013-04-22 10:07:01.016 Collecting synchronization list for local directory 'g:\Delgivning\LB\ZZ\ZZ-ritning' and remote directory '/LB/ZZ/ZZ-ritning', mode = 0, params = 3

Reply with quote

martin
Site Admin
martin avatar

Re: Syncronize problem

Can you please attach a complete log? This does not include enough information for me to help you. Thanks.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

Re: Syncronize problem

I can see that the file M116i57ZZ01.dwg was uploaded, in the log you have emailed me:

. 2013-04-22 10:00:29.229 Copying 1 files/directories to remote directory "/LB/ZZ/ZZ-modell/"
. 2013-04-22 10:00:29.229 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: *.*
. 2013-04-22 10:00:29.229 TM: M; ClAr: No; CPS: 0; InclM: |*.dwl?; *.dwk?; *.bak; *.$$$; *.$A; *.AC$; *.BK?; *.DMP; *.ERM; *.ERR; *.SV$; *.TMP; *.TMP$; *.WBK; *.XLK; *.md; *.db
. 2013-04-22 10:00:29.229 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2013-04-22 10:00:29.229 File: "g:\Delgivning\LB\ZZ\ZZ-modell\m116i57ZZ01.dwg"
< 2013-04-22 10:00:29.244 Script: Local 'g:\Delgivning\LB\ZZ\ZZ-modell' => Remote '/LB/ZZ/ZZ-modell'
. 2013-04-22 10:00:29.244 Copying "g:\Delgivning\LB\ZZ\ZZ-modell\m116i57ZZ01.dwg" to remote directory started.

Reply with quote

Advertisement

You can post new topics in this forum