Problem with synchronize and partially transmitted files

Advertisement

Paulo
Guest

Problem with synchronize and partially transmitted files

Hi:
To start, excellent program!
I'm trying to sync my Linux home server with my Windows XP work machine. I create this script:

C:\PROGRA~1\WinSCP3>more homebackup.txt
option batch on
option confirm off
open rsync@xxx.xxx.org
cd /data
synchronize local c:\homebackup /data
close
exit

It's been running successfully, until one session failed with an partially transferred file. Now I get this error:
Local 'c:\homebackup\profiles\lea\Desktop\CSA\2-8-2005_files' <= Remote '/data/profiles/lea/Desktop/CSA/2-8-2005_files'
zlsSetup_55_062_011.exe | 0 kB | 0.0 kB/s | binary | 0%
Target directory contains partially transfered file 'zlsSetup_55_062_011.exe'.
o you want to resume file transfer? Note: Answering 'No' would delete partially
transfered file and restart transfer.
(Y)es, (N)o, (A)bort: Abort
Session 'rsync@chilux.ods.org' closed.
No session.

I understand what is going on, but this is an unnatended process, so I can't be there to answer. I checked the documentation (gasp!!) and it seems the "option batch on" should answer a "no" to that question. So is this a bugor I didn't understand the documentation?
Version is 3.7.4 (build 271).

thanks
Paulo

Reply with quote

Advertisement

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

Re: Problem with synchronize and partially transmitted files

This is known drawback. I'll solve it somehow in the next version. As temporary workaround you may disable resuming at all or disable resume confirmation in the GUI. Whatever you prefer. It will affect the scripting too.

Reply with quote

LP
Guest

Re: Problem with synchronize and partially transmitted files

Was this problem ever resolved? We occasionally run into the same problem.

Paulo wrote:

Hi:
To start, excellent program!
I'm trying to sync my Linux home server with my Windows XP work machine. I create this script:

C:\PROGRA~1\WinSCP3>more homebackup.txt
option batch on
option confirm off
open rsync@xxx.xxx.org
cd /data
synchronize local c:\homebackup /data
close
exit

It's been running successfully, until one session failed with an partially transferred file. Now I get this error:
Local 'c:\homebackup\profiles\lea\Desktop\CSA\2-8-2005_files' <= Remote '/data/profiles/lea/Desktop/CSA/2-8-2005_files'
zlsSetup_55_062_011.exe | 0 kB | 0.0 kB/s | binary | 0%
Target directory contains partially transfered file 'zlsSetup_55_062_011.exe'.
o you want to resume file transfer? Note: Answering 'No' would delete partially
transfered file and restart transfer.
(Y)es, (N)o, (A)bort: Abort
Session 'rsync@chilux.ods.org' closed.
No session.

I understand what is going on, but this is an unnatended process, so I can't be there to answer. I checked the documentation (gasp!!) and it seems the "option batch on" should answer a "no" to that question. So is this a bugor I didn't understand the documentation?
Version is 3.7.4 (build 271).

thanks
Paulo

Reply with quote

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

Re: Problem with synchronize and partially transmitted files

LP wrote:

Was this problem ever resolved? We occasionally run into the same problem.
Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate 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 can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum