Java 7 prevents FTP transfers on Windows Vista and 7 if firewall is on. Any ideas?

后端 未结 9 1025
长情又很酷
长情又很酷 2020-12-02 05:43

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

9条回答
  •  -上瘾入骨i
    2020-12-02 05:45

    I had the same problem using IDE Eclipse Neon, JAVA 7 and Windows 7 Professional. Trying to upload a PDF file to an FTP server. I solved it by running the following command in CMD as administrator:

    C: \ Users \ pc01> netsh advfirewall set global StatefulFTP disable
    

提交回复
热议问题