synchronization work on batch mode not properly

Advertisement

scheste
Joined:
Posts:
7
Location:
Germany, 73312

synchronization work on batch mode not properly

Hello,

I will synchronize with WinSCP 4.2.9 from a SFTP server to my local storage.
The SFTP server is a linux machine and my PC have Windows 7
The problem is, that the batch mode not working proberly.
There have been no changes to the source
But with the WinSCP GUI display`s the changes and works!

Screenshots of the GUI:
<invalid hyperlink removed by admin>
<invalid hyperlink removed by admin>


The Batch Script:

del C:\tools\EMMA.log
winscp.com /script=c:\Tools\EMMA.txt /log=C:\tools\EMMA.log

The TXT File:

option batch on
option confirm off
open sftp://sftpuser:password@1.1.1.1
cd mfg
option exclude "/var/data/emma/mfg/TEST DROP BOX - DO NOT USE; /var/data/emma/mfg/Shini Test; /var/data/emma/mfg/2000-000; /var/data/emma/mfg/Artwork; /var/data/emma/mfg/TD*; /var/data/emma/mfg/*old*; /var/data/emma/mfg/*test; /var/data/emma/mfg/*move; /var/data/emma/mfg/123; .bash_history; *.shs; *.txt; *.sfv; *log; *.tar; *.svf; *.md5; *.sh1; *.crc; *.old; *.pdf; *.jpeg; *.jpg; *.doc; *.mds;"
lcd E:\Images\Images\PACS
synchronize local -mirror -delete
exit


It should be, for both methods at the same settings.
or I have an error in the script?

Kind Regards,
Stefan
Last edited by scheste on 2010-10-01 10:02; edited 1 time in total

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: synchronization work on batch mode not properly

Please post a full log file showing the problem (for both cases).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. 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

scheste
Joined:
Posts:
7
Location:
Germany, 73312

Hello,
I think the problem is solved.
I have disabled the option synchdelete and have create a new text file with the parameters.
Now I found no sync issues between the batch script and the gui.
but I will check regularly.

Regards,
Stefan

Reply with quote

Advertisement

You can post new topics in this forum