I use Python ftplib to connect to an FTP server which is running on active mode; That means the server will connect my client machine on a random port when data is sent between us.
Can I specify the client's data port (or port range) and let the server connect the certain port? I don't want to open all ports to the FTP server in my firewall iptables.