Explicit FTPS with Automation
Hi
When using the Automation library and trying to connect to an Explicit FTPS server, it looks like the Automation Library is not sending the AUTH TLS command before sending the USERNAME command. Explicit FTPS connection work successfully when using the GUI for both versions tested on.
WinSCP version(automation) - 5.5.6 and 5.6.2(Beta)
Windows OS: Windows 7 / 2008R2
Error: WinSCP.SessionRemoteException: Connection failed. ---> WinSCP.SessionRemoteException: Authentication failed.
Connection failed.
Have to use explicit SSL/TLS before logging on.
--- End of inner exception stack trace ---
at WinSCP.SessionLogReader.Read(LogReadFlags flags)
at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
at WinSCP.CustomLogReader.WaitForNonEmptyElementAndCreateLogReader(String localName, LogReadFlags flags)
at WinSCP.Session.Open(SessionOptions sessionOptions)
Regards
When using the Automation library and trying to connect to an Explicit FTPS server, it looks like the Automation Library is not sending the AUTH TLS command before sending the USERNAME command. Explicit FTPS connection work successfully when using the GUI for both versions tested on.
WinSCP version(automation) - 5.5.6 and 5.6.2(Beta)
Windows OS: Windows 7 / 2008R2
Error: WinSCP.SessionRemoteException: Connection failed. ---> WinSCP.SessionRemoteException: Authentication failed.
Connection failed.
Have to use explicit SSL/TLS before logging on.
--- End of inner exception stack trace ---
at WinSCP.SessionLogReader.Read(LogReadFlags flags)
at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
at WinSCP.CustomLogReader.WaitForNonEmptyElementAndCreateLogReader(String localName, LogReadFlags flags)
at WinSCP.Session.Open(SessionOptions sessionOptions)
Regards