[resolved] tFTPConnection

One Star

[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?
Community Manager

Re: [resolved] tFTPConnection

Hi
It does not work with putty keys, need to be converted to openssh keys. see related topic:
http://www.talendforge.org/forum/viewtopic.php?id=8662
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] tFTPConnection

Thanks man! It worked like charm! Smiley Happy
One Star

Re: [resolved] tFTPConnection

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.