Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
11.6k views
in .NET FTP by (1.7k points)
Hello,
Am stepping through the code and when code tries to create a socket in
FTPControlSocket.cs > private Socket CreateDataSocketPASV() > sock.Connect(ipe);, I get the error:

Unknown error (0x274d)

It happens 9 times out of 10 but on a rare occassion (1 of of 10 you might say:), the socket is created and the rest of the code processes as expected.

Probably not important but, the socket is used to retreive a directory listing of the remote machine.

Appreciate your response.
Thanks.

3 Answers

0 votes
by (162k points)
We've not seen this error before. The only information we've found is that people have seen it on Windows NT. What platform are you running on?


Unknown error (0x274d)

0 votes
by (1.7k points)
Sure as dog poop, I'm running Windows NT.
0 votes
by (162k points)
About all we can tell you is that translating the error from hex->dec gives 10061, which is Windows-speak is

WSAECONNREFUSED (10061) Connection refused.

So for some reason the server is refusing the connections.

Sure as dog poop, I'm running Windows NT.

Categories

...