FTPClientSession::activeDataConnection 1.11.0 cannot set specific data port #3372
Closed
Description
when we create the active server socket connection
ServerSocket server(SocketAddress(_pControlSocket->address().host(), 0));
we should let user set the "active port" needed otherwise the connection can be impossible in some environment.
ServerSocket server(SocketAddress(_pControlSocket->address().host(), _activeDataPort));