FAQConfiguringWinFirewallForPassiveFTP

(Difference between revisions)
m
m (With Windows 7 64Bit (German) Version "FTP Service" throws an Error "invalid Argument". FTPService without quotes as one Word works for me. Tested with Netbeans 7.3)
 
(10 intermediate revisions not shown)
Line 1: Line 1:
-
==FTP does not work with Java 7 on Windows 7 or Vista, how can I fix this?==
+
'''FTP does not work with Java 7 on Windows 7 or Vista in NetBeans IDE 7.0.1, how can I fix this?'''
__TOC__
__TOC__
-
==Description:==
+
==Description==
 +
Windows 7 or Windows Vista users running the NetBeans IDE 7.0.1 and later on JDK 7 may experience FTP communication failure.
-
==Workaround:==
+
==Workaround==
-
You can use either of the following options:
+
To establish an FTP connection, choose either of the options below:
* Turn off the Windows firewall.
* Turn off the Windows firewall.
-
* Configure Windows Firewall for a Passive Mode FTP Server as follows:
+
* Configure Windows Firewall for a passive mode FTP server as follows:
-
 
+
*# Open an Administrator command-prompt.  
-
# Open an Administrator command-prompt. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator.
+
*# Click Start > All Programs > Accessories.
-
 
+
*# Right-click Command Prompt, and then click Run as Administrator.
-
  # Run the following command:
+
*# Run the following command:<br><pre>netsh advfirewall firewall add rule name=FTPService action=allow service=ftpsvc protocol=TCP dir=in</pre>
-
      ''netsh advfirewall firewall add rule name=”FTP Service” action=allow service=ftpsvc protocol=TCP dir=in''
+
*# Disable stateful FTP filtering so that the firewall does not block any FTP traffic:<br><pre>netsh advfirewall set global StatefulFTP disable</pre>
-
 
+
-
  # Finally, disable stateful FTP filtering so that the firewall does not block any FTP traffic.
+
-
      ''netsh advfirewall set global StatefulFTP disable''
+
==Related links==
==Related links==
* [http://technet.microsoft.com/en-us/library/dd421710%28WS.10%29.aspx How to Configure Windows Firewall for a Passive Mode FTP Server]
* [http://technet.microsoft.com/en-us/library/dd421710%28WS.10%29.aspx How to Configure Windows Firewall for a Passive Mode FTP Server]
-
* [http://www.netbeans.org/community/releases/71/relnotes.html NetBeans IDE 7.1 Beta Release Notes]
+
* [http://www.netbeans.org/community/releases/70/relnotes.html NetBeans IDE 7.0.1 Release Notes]
 +
* [http://www.netbeans.org/community/releases/71/relnotes.html NetBeans IDE 7.1 Release Notes]

Current revision as of 08:11, 13 March 2013

FTP does not work with Java 7 on Windows 7 or Vista in NetBeans IDE 7.0.1, how can I fix this?

Contents

Description

Windows 7 or Windows Vista users running the NetBeans IDE 7.0.1 and later on JDK 7 may experience FTP communication failure.

Workaround

To establish an FTP connection, choose either of the options below:

  • Turn off the Windows firewall.
  • Configure Windows Firewall for a passive mode FTP server as follows:
    1. Open an Administrator command-prompt.
    2. Click Start > All Programs > Accessories.
    3. Right-click Command Prompt, and then click Run as Administrator.
    4. Run the following command:
      netsh advfirewall firewall add rule name=FTPService action=allow service=ftpsvc protocol=TCP dir=in
    5. Disable stateful FTP filtering so that the firewall does not block any FTP traffic:
      netsh advfirewall set global StatefulFTP disable

Related links

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo