Affects Version/s: Nightly Builds
Fix Version/s: 2.1
The fix from
VFS-216 doesn't help if the ftp server doesn't reply with any messages at all (could happen if it's behind a badly configured firewall for example). What happens is that the client.connect() called from FtpClientFactory hangs, and this line is before timeout parameter is set.
I suggest the change in the attached patch.
The scenario can be tested with "netcat -l" instead of a real ftp server.