Windows7でNetBeansからFTPサーバにファイルをアップ・ダウンロードできない

Windows7NetBeansからFTPサーバにファイルをアップ・ダウンロードできない

Windows7NetBeansをインストールしてFTPサーバの設定をしたが、
サーバに接続はできているのに、ファイルのアップ・ダウンロードができなかった。

解決手順

1.Windowsのファイヤーウォールをオフにする


2.管理者権限でコマンドプロンプトを起動する


3.下記コマンドを実行

netsh advfirewall firewall add rule name="FTP Service" action=allow service=ftpsvc protocol=TCP dir=in


4.下記コマンドを実行

netsh advfirewall set global StatefulFTP disable


5.Windowsのファイヤーウォールをオンに戻す