Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am attempting to connect to FTP and I am receiving the following error message:
Exception in component tFTPConnection_1 (FTP)
javax.net.ssl.SSLException: 503 Bad sequence of commands.
at org.apache.commons.net.ftp.FTPSClient.execPROT(FTPSClient.java:528)
at configuration.ftp_0_1.FTP.tFTPConnection_1Process(FTP.java:533)
at configuration.ftp_0_1.FTP.runJobInTOS(FTP.java:2011)
at configuration.ftp_0_1.FTP.main(FTP.java:1862)
The FTP uses SSL, passive connection mode and explicit security mode. The port (21), host, username and password are all correct; using the same settings I can log in through FileZilla. I can also log into SFTP without any issues using the same sequence (I change the FTPConnection component). What am I doing wrong?
Hello,
It indicates the server is unavailable.
Have you tried to set the FTPS option (it is FTP over SSH) on tFTPConnection component?
Best regards
Sabrina
Hello,
Did you still get the 503 bad sequence of commands error?
For creating keystore and truststore, you can check documentation:
https://docs.oracle.com/cd/E19509-01/820-3503/ggfen/
Best regards
Sabrina
I'm getting this same error now when FTPSClient.execPROT("P") is being called. The error has nothing to do with the keystore as the FTPSClient.connect and FTPSClient.login are both succeeding.