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

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

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