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

martin

Thanks for your feedback.
stefan_s

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
martin

Re: synchronize a directory junction not working since 5.x

Thanks for the logs.

This issue has been added to the tracker:
https://winscp.net/tracker/1392

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
stefan_s

trace files
stefan_s

same behaviour with 5.8.1 debug
attached 2 logfiles
martin

Re: synchronize a directory junction not working since 5.x

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

synchronize a directory junction not working since 5.x

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.