Synchronize crashing with can't initialize TLS library

Advertisement

rayjbell
Guest

Synchronize crashing with can't initialize TLS library

I am using the latest version of WinSCP and am trying to use a simple script to push changes from one machine to another via the FTP server. The script is as follows:
echo 
# Connect
open ftpes://xxxxxxxx:xxxxxxx@xxxxxx:nnnnnn/ -certificate="xxxxxxx" -rawsettings ProxyPort=0
 
# Change directory
lcd "E:\xxxxxxxx"
cd /ServicesSTORE/ 
synchronize -delete -mirror -preservetime local "E:\xxxxxxxx" /ServicesSTORE/ 
 
close
# Exit WinSCP
exit
I have removed private information but the connection is made and successful. The transfer starts and all is well for about 5 minutes. Then WinSCP crashes with:
Local 'E:xxxx\Results' <= Remote '/ServicesSTORE/xxxxx 'E:\xxxxx' <= Remote '/ServicesSTORE/xxxxxx'
Error listing directory '/ServicesSTORE/xxxxxxxx'.
Can't initialize TLS library
Could not retrieve directory listing
The data is invalid.
(A)bort, (R)etry, (S)kip: Abort
I do not know how to respond as Retry in the script, but also watched and responded manually. It continued to fail in the same way.

This process has always worked using FTPMAP but was a little slow, so I am trying to see if WinSCP can be used to replace it.

Thanks, Ray

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Synchronize crashing with can't initialize TLS library

Thanks for your report.

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include a link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

Advertisement

You can post new topics in this forum