Thanks for your feedback.
great, the dev build you sent me works with the junction.
let me know if you need the logfile.
WinSCP-20160120rjunction-Portable.zip
WinSCP Version 5.8.2 (Dev Build 6145 2016-01-20)
btw. 5.8.2 is much faster !
when nothing is to transfer
5.7.6 need 3 sec for total sync connection (sftp, private key-login)
5.8.2dev only 600 msec
will wait for the 5.8 release.
many thanks
same behaviour with 5.8.1 debug
attached 2 logfiles
Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
Script-synchronizing a local directory that contains a junction to another
directory (also local not network) to remote does not work since 5.x
tried: 5.1.7, 5.5.6, new 5.7.6
4.3.6 is working.
for version 5.x it is working, if at the remote (!) side the directory is created before
OS: Windows Server 2003 (with sysinternals tool junction.exe) .
On a Win7 HomePremium with std. tool mklink /J I cannot reproduce.
Using: SFTP, remote: Linux debian
found similar error in forum: forum/viewtopic.php?t=13461
Attached logfiles:
D:\ECGData\Muse.xmlout is the junction that fails.
Full script:
winscp.exe /console /ini=winscp.ini /log=xx.log /xmllog=xx-xml.log /command "open nabios_22"
"option echo on" "option batch on" "option confirm off" "option transfer binary"
"cd /home/de_parexel" "put xx.log.last /home/xx.log" "put xx.run /home//sync_xx.run.log"
"option batch continue" "mkdir sync" "option batch on" "option exclude D:\ECGdata\Holter\"
"synchronize remote -mirror -criteria=both ""D:\ECGData"" sync"
"synchronize local -mirror -criteria=both ""D:\ECGData.in"" sync.back"
Hope it helps.