Implicit SSL/TLS FTPS support in Talend 6.2.1

Five Stars

Implicit SSL/TLS FTPS support in Talend 6.2.1

Hi guys,

 

I am using tFTPConnection component in Talend 6.2.1

 

When I enable FTPS Support (Security Mode Implicit), I get an error 'com.enterprisedt cannot be resolved to a type'? What to I need to to resolve this? Will it then work on tFTPFileList and tFTPGet components?

 

Also, can I put empty Keystore File and Password?

 

Cheers.

 

Five Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

Just an update, looks like the error happens on tFTPFileList:

    com.enterprisedt.net.ftp.FTPClient ftp_tFTPFileList_2

 

 

Forteen Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

Can you show FTP component configuration?
Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Five Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

Here are the tFTPConnection and tFTPFileList component settings:

Screen Shot 2018-02-21 at 1.47.29 pm.pngScreen Shot 2018-02-21 at 1.48.42 pm.png

Thanks in advance!

Forteen Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

you need to specify  filemask

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Five Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

It does not build even if I put a filemask or not. Here is what the code looks like:

Screen Shot 2018-02-21 at 3.51.48 pm.png

Seven Stars JGM
Seven Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

are these the first errors in the program? it looks like the enterprisedt library isnt loaded, but errors like this can often be caused by syntax errors in components. if you find the first error, that can point you at which component is missing a double quote Smiley Tongue
Forteen Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

can you enable SFTP Support insted of FTP Support.

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Five Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

Those are the only errors showing up.

If I just use FTP, this is the generated code:

 

com.enterprisedt.net.ftp.FTPClient ftp_tFTPConnection_1 = new com.enterprisedt.net.ftp.FTPClient();
...
com.enterprisedt.net.ftp.FTPClient ftp_tFTPFileList_1 = null;

ftp_tFTPFileList_1 = (com.enterprisedt.net.ftp.FTPClient) globalMap
		.get("conn_tFTPConnection_1");

But if I use FTPS Support in tFTPConnection, this is the generated code:

 

 

it.sauronsoftware.ftp4j.FTPClient ftp_tFTPConnection_1 = null;
...
ftp_tFTPConnection_1 = new it.sauronsoftware.ftp4j.FTPClient();

com.enterprisedt.net.ftp.FTPClient ftp_tFTPFileList_2 = null;

ftp_tFTPFileList_2 = (com.enterprisedt.net.ftp.FTPClient) globalMap
		.get("conn_tFTPConnection_1");

So it looks like tFTPFileList is not being casted to use the 'it.sauronsoftware.ftp4j.FTPClient'

 

Five Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

Unfortunately, I am not able to use SFTP because it is not supported by the server.

Five Stars

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

Just an update, I am now just using tFTPGet only with FTPS Support.

I got it somehow to connect but it throws an Exception when the Filemask is not "*". (e.g. when you specify a filename)

[INFO ]: talend_gateway.try_ftps_0_1.try_ftps - tFTPGet_2 - Downloading files from the server.
Exception in component tFTPGet_2
it.sauronsoftware.ftp4j.FTPException [code=550, message= File '.' not found.]
	at it.sauronsoftware.ftp4j.FTPClient.list(FTPClient.java:2164)
	at talend_gateway.try_ftps_0_1.try_ftps$1FTPSGetter_tFTPGet_2.getFiles(try_ftps.java:413)
	at talend_gateway.try_ftps_0_1.try_ftps.tFTPGet_2Process(try_ftps.java:608)
	at talend_gateway.try_ftps_0_1.try_ftps.runJobInTOS(try_ftps.java:901)
	at talend_gateway.try_ftps_0_1.try_ftps.main(try_ftps.java:735)
[FATAL]: talend_gateway.try_ftps_0_1.try_ftps - tFTPGet_2 File '.' not found.

However, when you change the Filemask is '*', it gets in and download all the files in that FTPS folder.

Employee

Re: Implicit SSL/TLS FTPS support in Talend 6.2.1

rozetta-kc, Did you resolve this error?

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now