Steffen:
That is a good idea. I think it is better too.
I will contribute it as a patch to the JIRA I
created.
Thanks,
Neil
--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-----Original Message-----
From: Steffen Heil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 13, 2007 2:56 AM
To: 'Jakarta Commons Users List'
Subject: RE: [net-ftp] FTPS timeout when trying to upload a file
Hi
> How about adding a method called:
> forceConnectedHostForPassiveConnections(boolean)
>
> If someone sets the boolean to true, the code will use the
> host specified in the connect call instead of the passive
> host given by the server.
>
> This looks clean to me and will require very little code changes.
I would prefer a solution with an added method called:
overrideHostForPassiveConnections(InetAddress)
That would solve the same, but could also be used in other scenarios.
Regards,
Steffen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]