Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Maximize ROI with Qlik Professional Services – Expert Guidance, Faster Results: Explore Qlik Services
cancel
Showing results for 
Search instead for 
Did you mean: 
peacekas99
Contributor III
Contributor III

Tftpconnection Auth fail

Hi all,

I have a talend job that is using tftp components. 

Once it create a filedelimiter on my desktop, I want it to send that file to sftp location I specified tftpconnection and tftput components.

The job create file but fails at tftpconnection with this error message. Feels like some java componenet needs to be created but not sure how. thanks. Last Java component in my design just has this message "System.out.print(FTP);"

Error Message:

"Exception in component tFTPConnection_1 ()
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:512)
at com.jcraft.jsch.Session.connect(Session.java:183)
at (.java:2801)
at (ava:2545)
at (.java:1493)
at (.java:1345)
at (.java:868)
at (.java:6363)
at (.java:6082)
[FATAL]: tFTPConnection_1 Auth fail

 

 

 

 

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

yes, tFTPConnection can be on anywhere, as long as it creates the connection before it is used.

View solution in original post

9 Replies
Anonymous
Not applicable

Hi
Make sure you have the right authentication, use a FTP client to check if you are able to connect to FTP server.

BTW, please insert images into your post body instead of attaching it.

Regards
Shong
peacekas99
Contributor III
Contributor III
Author

I’ll do that thanks. Which FTP client do I use to check ftp server?
Also how’s my set up look? Any Java I need to include? Or just correct username and password and host info is good enough? Any job u can refer me to that does this?
Anonymous
Not applicable

You don't need input any Java code, just provide correct username, password and host info. You can try Filezilla.
https://filezilla-project.org/
peacekas99
Contributor III
Contributor III
Author

Ok. And tftpconnection doesn’t need to be connected on trigger job ok to tfiledelimeter right?
Can be stand alone setup?

Thank you
Anonymous
Not applicable

tFTPConnection is used to a FTP connection, the connection should be created before it is using on FTP components such as tFTPPut, tFTPGet. We usually create the connection in the beginning of job. In your job, tFTPConnection is OK to be linked with onComponentOK after tFileOutputDelimited.

peacekas99
Contributor III
Contributor III
Author

Thank you shong. So ftpconnection_1 doesn’t have to be connected to filedelimiter it can be anywhere in the design connected to ftput? I’ll try it today once I get correct auth
Thank you
Anonymous
Not applicable

yes, tFTPConnection can be on anywhere, as long as it creates the connection before it is used.
peacekas99
Contributor III
Contributor III
Author

Thank you I got it working with correct credentials

Can you look into this for me?
https://community.talend.com/t5/Design-and-Development/Talend-Adminstation-Center-public-key/m-p/213...
Anonymous
Not applicable

Great, thanks for your feedback. I have replied your anther topic.