Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
pcbillions53
Contributor
Contributor

Exception in component tFTPConnection_1 (<jobname>)

Hi,

I'm trying to connect Talend to a SFTP server, now with this error:

  1. Starting job <jobname> at 10:00 05/05/2021.
  2. [statistics] connecting to socket on port 3687
  3. [statistics] connected
  4. Exception in component tFTPConnection_1 (<jobname>)
  5. com.enterprisedt.net.ftp.FTPException: 534 Policy requires SSL.
  6. at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1308)
  7. at com.enterprisedt.net.ftp.FTPClient.user(FTPClient.java:1961)
  8. at com.enterprisedt.net.ftp.FTPClient.login(FTPClient.java:1901)
  9. at data_lake.job_conecta_sftp_0_1.job_Conecta_SFTP.tFTPConnection_1Process(job_Conecta_SFTP.java:423)
  10. at data_lake.job_conecta_sftp_0_1.job_Conecta_SFTP.runJobInTOS(job_Conecta_SFTP.java:2148)
  11. at data_lake.job_conecta_sftp_0_1.job_Conecta_SFTP.main(job_Conecta_SFTP.java:1997)
  12. [statistics] disconnected
  13. Job <jobname> ended at 10:00 05/05/2021. [Exit code = 1]

Using the same credentials, the FTP coneection via FileZilla is OK. And without any certificate...

How can I solve this?

Best wishes.

Labels (2)
1 Reply
gjeremy1617088143

Hi, as the error say : Policy requires SSL.

You need to use FTPS support in the component,

the port for FTPS is 21 for the explicit security mode.

You have to charge a truststore from the certificate via tSetkeystore component before the connection.

(Filezilla work without the certificate, talend not).

Send me Love and Kudos