H
horos
All,
I've been trying to get a passive ftp server working, but
unfortunately, there seems to be a VERY low level bug in the Socket
command that makes the passive connection.
The symptoms: I get a port to connect to, and then try that port
using:
Socket sckt = new Socket(host, port);
The socket sends off a SYN_SENT but hangs in waiting for response.
Now I don't know for sure, but I STRONGLY suspect that it is a java
bug. Why? The Socket connection worked before (ie: this is old
production code). Regular ftp worked. Net::FTP, the perl
implementation of ftp works.
So it looks like there is a strong likelihood there is a bug in socket
itself. I'd love to hear from sun on this one, I can both demo the
code that isn't working, and hopefully file a bug report.. I''m on
jdk6.12, but am upgrading to jdk6.18.
Ed
Ed
I've been trying to get a passive ftp server working, but
unfortunately, there seems to be a VERY low level bug in the Socket
command that makes the passive connection.
The symptoms: I get a port to connect to, and then try that port
using:
Socket sckt = new Socket(host, port);
The socket sends off a SYN_SENT but hangs in waiting for response.
Now I don't know for sure, but I STRONGLY suspect that it is a java
bug. Why? The Socket connection worked before (ie: this is old
production code). Regular ftp worked. Net::FTP, the perl
implementation of ftp works.
So it looks like there is a strong likelihood there is a bug in socket
itself. I'd love to hear from sun on this one, I can both demo the
code that isn't working, and hopefully file a bug report.. I''m on
jdk6.12, but am upgrading to jdk6.18.
Ed
Ed