Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

scheste

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
scheste

hello,

I will send a email with both log files!

Regards,
Stefan
martin

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.
scheste

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