PDA

View Full Version : Non-standard ports ignored for FTPS


Andre
31-Oct-2008, 08:01 AM
Tried to connect to an FTPS site on port 990 using BC3.0.7_9037 (connection works seemlessly using 2 other FTP clients).
It fails and BC tells "No connection could be made because the target machine actively refused it". Using Wireshark protocol analyser i figured out that it seems that BC is always trying to connect to port 21 and that attempt is of course refused by the server.

Any hints how to get this running?

Regards
Andre

Craig
04-Nov-2008, 02:00 PM
You should be able to use the "Browse" button or enter a URL like: ftp://user@host:990/

BC3 does currently only support explicit SSL though, so if you're trying to use implicit SSL it might fail with that error message.

Andre
05-Nov-2008, 12:57 AM
Don't know all the FTP details/variants. I just know that all other FTP clients I tried (which support FTPS) are able to connect to that server via ftps://myname@123.234.345.456:990. Thus I created a new BC session, selected FTPS as the protocol, IP, port, username and password. BC issued the correct URL ftps://myname@123.234.345.456:990. But can't connect. Sniffing IP trafic with Wireshark (prev. Ethereal) showed that BC does not use port 990 but 21 (which is the standard FTP port), thus destination server refused to reply.

Craig
05-Nov-2008, 05:27 PM
The next release will use implicit SSL for port 990.