With reference to the Net libraries FTP object - the connection timeout seems to be set to about 60 secs.
How can I change it?
Looking at:
https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTPClient.html
under heading:
Methods inherited from class org.apache.commons.net.SocketClient
it looks like there are setConnectTimeout and getConnectTimeout methods.
So I'm assuming some Reflection wizardry is required...
How can I change it?
Looking at:
https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTPClient.html
under heading:
Methods inherited from class org.apache.commons.net.SocketClient
it looks like there are setConnectTimeout and getConnectTimeout methods.
So I'm assuming some Reflection wizardry is required...