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