Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
9.6k views
in Java FTP by (51.6k points)
There's a major bug in Java 7 that prevents ALL transfers on Windows machines!

We've reported it at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7077696

It's been accepted, but marked as "low priority". For anyone using FTP on Java/Windows it's certainly a very high priority.

PLEASE VOTE the bug up - here.

We're hoping to get it into the top 25.

7 Answers

0 votes
by (51.6k points)
Thanks for your votes. As of 11/11/2011 the bug is now in the top 25 bugs.

There's also a lively discussion on reddit, which includes post by a representative of Oracle -

http://www.reddit.com/r/java/comments/m ... nd_thinks/

- Hans (EnterpriseDT)
0 votes
by (51.6k points)
Oracle has analysed the problem and have found that it seems to be a bug in Windows Firewall and/or the IPv6 stack. They managed to replicate the problem with a native C (i.e. non-Java app), so this is strong evidence that the bug is not in Java. They have informed Microsoft, so the ball is in their court now.

More details can be found at http://bugs.sun.com/bugdatabase/view_bu ... id=7077696
0 votes
by (162k points)
As explained in the threads, it turns out that it's a problem with the Windows IPv6 stack, which Java 7 uses by default.

A workaround is to switch back to the IPv4 stack by including

-Djava.net.preferIPv4Stack=true

on your command-line.
0 votes
by (51.6k points)
Jean Christian from Miranda has kindly told us that the the preferIPv4Stack suggestion didn't work for him, but that issuing the following command on the Windows command-line did:
netsh advfirewall set global StatefulFTP disable


- Hans (EnterpriseDT)
0 votes
by (140 points)
Oracle has analysed the problem and have found that it seems to be a bug in Windows Firewall and/or the IPv6 stack. They managed to replicate the problem with a native C (i.e. non-Java app), so this is strong evidence that the bug is not in Java. They have informed Microsoft, so the ball is in their court now.

More details can be found at http://bugs.sun.com/bugdatabase/view_bu ... id=7077696



Thanks for nice sharing.
0 votes
by (51.6k points)
Actually there have been more developments since then. Microsoft has provided a patch to Oracle for testing. No word on when it will be publicly released yet.

- Hans (EnterpriseDT)
0 votes
by (51.6k points)
Success at last! Microsoft has publicly released a hotfix. They imply that the fix will be included in a general software update in the future:
if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.


- Hans (EnterpriseDT)

Categories

...