I am trying to piece together exactly how this was working before.
I think the previous FTP client was using Explicit TLS, but the new client is using “Auto”.
This would explain why it tries to send the username before enabling TLS.
If my assumption is correct, it should be possible to fix it by:
- Remove the
--use-ssl
flag - Add
--ftp-encryption-mode=Explicit
The reason why the --use-ssl
flag must be removed, is that it will otherwise overwrite the --ftp-encryption-mode
flag with Auto
.
Is it possible for you to test this change? If I can get confirmation that this is working, it is a one-line code change to get the new FTP client to behave the same as before.