View Full Version : FTPS Issue?
eedwards
20-Aug-2008, 04:11 PM
In the past (before i upgraded today to the latest bc3 - 8706) I had been able to connect to my windows server 2008 machine running the ftps server in IIS7.
Now I get:
8/20/2008 1:58:26 PM Stat> Connected.
8/20/2008 1:58:26 PM Recv> 220 Microsoft FTP Service
8/20/2008 1:58:26 PM Sent> AUTH TLS
8/20/2008 1:58:26 PM Recv> 234 AUTH command ok. Expecting TLS Negotiation.
8/20/2008 1:58:26 PM Sent> QUIT
8/20/2008 1:58:26 PM Stat> Disconnected.
8/20/2008 1:58:26 PM Connection Closed Gracefully.
Note that we are immediately sending a QUIT, rather than proceeding with login.
Any insight?
meeque
21-Aug-2008, 07:20 AM
I have the same setup: Windows Server 2008 - IIS 7.0 FTP/SSL and can't get FTPS (Explicit SSL) to connect. I have a log from a working connection
220-Microsoft FTP Service
220 WELCOME TO xxxxxxxx
COMMAND:> AUTH SSL
234 AUTH command ok. Expecting TLS Negotiation.
STATUS:> Negotiating SSL connection with server.
STATUS:> SSL connection established. All transactions are now secure.
STATUS:> Connected. Logging into the server
COMMAND:> HOST xxxxxxxxxxxxxxxxxx
220 Host accepted.
COMMAND:> USER xxxxxxxxx
331 Password required for xxxxxxxxx.
COMMAND:> PASS ****************
230 User logged in.
STATUS:> Login successful
COMMAND:> SYST
It appears that a successful connection sends a HOST command prior to the USER command. BC seems to be sending just the USER command.
Any help would be appreciated - thanks.
Chris
22-Aug-2008, 09:45 AM
Thanks for reporting the problem. I'll setup an IIS7 FTPS server here and try to figure out why it isn't working.
Craig
22-Aug-2008, 05:51 PM
eedwards,
We've implemented "HOST" support for the next release, which should fix meeque's problem, but based on your log I'm not sure it applies to you. Which version of BC were you using prior to upgrading? You didn't mention if any other FTP clients are able to connect. If they are, are they sending the HOST command (immediately before USER), and if so, if you disable it do they stop connecting?
meeque
23-Aug-2008, 05:00 AM
Craig;
Beautiful - works like a charm!
Thanks so much!
Mark
eedwards
25-Aug-2008, 02:41 PM
@Craig
What ftp clients might support ftps? I wasn't aware of many others that do.
Craig
25-Aug-2008, 02:48 PM
There are actually quite a few, though I can't comment on most of them. Mark (meeque) is using FTPVoyager (http://www.ftpvoyager.com/) and it supports enabling/disabling the "HOST" command, which would allow you to test whether that's the issue. Filezilla (http://www.filezilla-project.org/), CoreFTP (http://www.coreftp.com/), and CuteFTP (http://www.globalscape.com/products/ftp_clients.aspx) also all support FTP over SSL.
eedwards
27-Aug-2008, 12:49 PM
This is the part that puzzles me:
8/20/2008 1:58:26 PM Recv> 234 AUTH command ok. Expecting TLS Negotiation.
8/20/2008 1:58:26 PM Sent> QUIT
What in the code would cause BC3 to send QUIT after recieving AUTH?
Is there something certificate related (but not logged?)
Craig
05-Sep-2008, 02:40 PM
It's likely some sort of problem with the TLS handshaking. In your original post you mentioned that it worked prior to upgrading to 8707. Do you have any idea which version you were using prior to that?
eedwards
05-Sep-2008, 03:56 PM
i am pretty sure i was just on the version just before 8707. I had just installed bc3 fresh after purchase, then a week later 8707 came out. So whatever came before 8707 was what I was on.
Craig
05-Sep-2008, 04:01 PM
I sent an message to the email address you used to register in the forums.
eedwards
05-Sep-2008, 05:15 PM
Ok...I will try that version out
eedwards
11-Sep-2008, 09:45 AM
I reverted and could not connect. So it would appear that something was broken in my IIS ftps setup. Thanks for the assistance. -ee-
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.