Java 7 prevents FTP transfers on Windows Vista and 7 if firewall is on. Any ideas?
问题 Java 7 prevents FTP transfers on Windows Vista and 7. In FTP, before a file is transferred a PORT or a PASV command must be sent. As soon as one of the commands is sent the Windows Firewall closes the socket that sent it. This only happens if the firewall is on and an exception for java.exe is absent. I suspect this problem is related to Java 7 using the new Vista IP stack. Does anyone have any ideas how to fix or work around this problem? We're distributing a Java FTP library so we obviously