commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steffen Heil" <li...@steffen-heil.de>
Subject RE: [net-ftp] FTPS timeout when trying to upload a file
Date Tue, 13 Feb 2007 08:56:18 GMT
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

Mime
View raw message