I am configuring a ftpClientFactory using org.springframework.integration.ftp.session.DefaultFtpSessionFactory.
I noticed it has 3 timeout related parameters. connectTimeout, defaultTimeout and dataTimeout.
I was reading the documentation but I could not find the exactly details about those properties.
I am guessing that the dataTimeout is a timeout for sending the file. connectTimeout is for establishing a connection with the FTP server. And the defaultTimeout is for both???
I could not find a place to check if my understanding is correct. Does anyone knows where to find it or can anyone confirm it to me based on experience?
connectTimeout ends in timeout argument of Socket.connect of both control and data connection.
defaultTimeout ends in Socket.setSoTimeout of the control connection.
dataTimeout ends in Socket.setSoTimeout of the data connection.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With