Skip to content

FTPClientSession::activeDataConnection 1.11.0 cannot set specific data port #3372

Closed
@micheleselea

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));

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions