Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using a simple talend code to connect to tftpconnection--->tftpput(component used to upload files from local to remote FTP location) and continuously getting error message as below:
**java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)**
What does this mean ,because i just connected to the ftp connection and more over the timeout is also set to more than 10 minutes,i am not sure how or why it would close the connection ?
How to overcome this problem scenario
If i run the same job in tmc i am getting a different error with ftpput method:
"java.lang.RuntimeException:Error during component operation!"?
Hello,
Maybe you were waiting too long without transfer data, then the firewall reset your connection.
What is your ftp settings? Is it passive or active mode selected?
Best regards
Sabrina
Thanks for your response,i have the same feature in another job used long back which works fine,but when i try to use the same in a new job-it keeps failing,the ftp is in passive mode and its to be noted that the server was recently migrated to sftp.What else can i do to make it work?
Hello,
As your server was recently migrated to sftp, did you use tFTP Connection with SFTP support?
Best regards
Sabrina