Timeout parameter is overwritten with 10000 by FTPConnectionFactory
Brought to you by:
arnold_mad,
kurt_tas
I wondered why the timeout was always 10 seconds even when I configured 1 hour and I found the reason:
Instead of 10000
return FTPConnectionFactory.getInstance(host, port, user, password, null, 10000, connectionType, passiveMode, [...]
the factory should use the given variable timeout
return FTPConnectionFactory.getInstance(host, port, user, password, null, timeout, connectionType, passiveMode, [...]
After the change the timeout was working.
fixed in 1.0