commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <n...@JAMMConsulting.com>
Subject RE: [net-ftp] FTPS timeout when trying to upload a file
Date Tue, 13 Feb 2007 15:35:18 GMT
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:lists@steffen-heil.de] 
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message