Affects Version/s: 1.0.0-M4
Fix Version/s: 1.0.0-RC1
Environment:Client PowerTCP alias DartFTP, implicit FTPS
I had some trouble with DartFTP as client in implicit ftps mode. The client expects, that the data channel is automatically secure, when the control channel is ssl. It does not issue a PROT command.
I know there is no clean spec for implicit ftps.
I fixed it in the constructor of IODataConnectionFactory, but maybe this behaviour should be configurable:
public IODataConnectionFactory(final FtpServerContext serverContext,
final FtpIoSession session)
|Field||Original Value||New Value|
|Summary||automatically do FTPS on passive ports, if Session is implict FTPS||Automatically do SSL on passive ports, if Session is implict FTPS|
[ My next try :-)
this patch works against current trunk (SVN Revision 726795). And - wow - the fix for
A passive Port range is reusable, if any of the port declarations contains an 'r'. example: <passive ports="r2505-2515" />
Support of a random passive port (<passive ports="0" />) is still broken. And there ist no unit test yet.
|Status||Open [ 1 ]||Closed [ 6 ]|
|Fix Version/s||1.0.0-RC1 [ 12313542 ]|
|Resolution||Duplicate [ 3 ]|
|Assignee||Niklas Gustavsson [ niklas ]|