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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tFTPConnection

Hi, I have problem. Using tFTPConnection with SFTP support keep getting this error:
Exception in component tFTPConnection_1
com.jcraft.jsch.JSchException: invalid privatekey: C:/Documents and Settings/dddd/Desktop/tttt/priv.ppk
at com.jcraft.jsch.IdentityFile.<init>(IdentityFile.java:261)
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:135)
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:130)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:206)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:200)
at development.ftp_0_1.FTP.tFTPConnection_1Process(FTP.java:348)
connected
at development.ftp_0_1.FTP.runJobInTOS(FTP.java:798)
at development.ftp_0_1.FTP.main(FTP.java:666)
disconnected
Job FTP ended at 15:29 28/12/2012.

It sase "invalid privatekey" which for sure can not be an issue, my keys works fine with FTP clients. One thing which can be a problem is proxy. I had a problem with it whan I was configurating client. At the end I had to install Forefront TMG Client.
Is there any known issue with tFTPConnection and proxy server?
Labels (3)
3 Replies
Anonymous
Not applicable
Author

Hi
It does not work with putty keys, need to be converted to openssh keys. see related topic:
https://community.talend.com/t5/Design-and-Development/SFTP-with-private-key/td-p/109392
Shong
Anonymous
Not applicable
Author

Thanks man! It worked like charm! 0683p000009MACn.png
Anonymous
Not applicable
Author

Hi I am facing an issue with tftpconnection component .Whenever I try to estabilish a connection with the ftp I get the following error:
Exception in component tFTPConnection_1
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset
at com.jcraft.jsch.Session.connect(Session.java:558)
at com.jcraft.jsch.Session.connect(Session.java:183)
at local_project.test3_0_1.test3.tFTPConnection_1Process(test3.java:369)
at local_project.test3_0_1.test3.runJobInTOS(test3.java:627)
at local_project.test3_0_1.test3.main(test3.java:484)
I am able to connect to the FTP on my web browser.Could you explain what this error means and how to resolve this?
I have attached the screenshots of the error and component window.