Tuesday, October 25, 2011

SOLVED: Netbeans 7 FTP uploads fails after upgrading to JDK 7

Netbeans 7.0.1, JDK7, Windows 7 / Vista
32/64 bit

Netbeans FTP uploads to a remote site fail after upgrading to JDK 7.
The issue is related to new features introduced in JDK7 FTP and by default blocked by Windows Firewall.

Solution:
1. Run cmd.exe as an administrator.
2. Run the following command in cmd:
netsh advfirewall set global StatefulFTP disable

You are done, try Netbeans FTP uploads now.