Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all,
I have an issue with a job doing SFTP sessions. My scenarion is as follow:
tFtpConnection_1 --> tFtpFileList --> <tFtpGet> --> tFtpClose
The issue comes because very often I'm getting the error "
java.net.SocketTimeoutException:connect timed out"
So, I wonder how can I catch this Exception in order to avoid the job error and retry for a couple of times , and only then produce the error in the job.
Any idea?
Thanks a lot for your help
BR
Max
Hi
which component the error occurs? one more question, do you want to retry several times for the same file or ignore the current file if the job fails to get it and continue to get next file?
Regards
Shong
Hi,
The error occurs in the component tFTPFileList where I'm using a connection previously done with the component tFTPConnection
java.net.SocketTimeoutException:connect timed out
It does not really matter about the retry. I just now want to be able to catch this error somehow in order to avoid a FAIL termination.