You can add the Java launcher (maybe a private copy for your ftp client) as a new application in the Advanced Windows Firewall allow rules and allow it to open all ports.
Alternative would be to specify a local bind port and allow that one by number in the firewall. That probably requires code changes in your client. Gruss Bernd -- http://bernd.eckenfels.net ________________________________ Von: kiter ke <kiter...@hotmail.com> Gesendet: Thursday, March 10, 2022 8:27:27 AM An: user@commons.apache.org <user@commons.apache.org> Betreff: FtpClient is blocked by win7/10's firewall. Hi,everybody! I’m trying to use FtpClient to download files from VSFtp server.But it’s still blocked by windows 7’s firewall. While I close the firewall, the ftp client is working. If the firewall is working, the ftp client can not download any bytes from server. And I have set the mode to PASSIVE_LOCAL_DATA_CONNECTION_MODE by enterLocalPassiveMode<https://commons.apache.org/proper/commons-net/javadocs/api-3.7/org/apache/commons/net/ftp/FTPClient.html#enterLocalPassiveMode-->(). Is there any helpful advice for me? I would be appreciate it if you reply me soon. 从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送