FTPS Issue?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eedwards
    Visitor
    • Aug 2008
    • 6

    FTPS Issue?

    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
    Visitor
    • Jan 2007
    • 3

    #2
    FTPS Issue - me too

    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.

    Comment

    • Chris
      Team Scooter
      • Oct 2007
      • 5538

      #3
      Thanks for reporting the problem. I'll setup an IIS7 FTPS server here and try to figure out why it isn't working.
      Chris K Scooter Software

      Comment

      • Zoë
        Team Scooter
        • Oct 2007
        • 2666

        #4
        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?
        Zoë P Scooter Software

        Comment

        • meeque
          Visitor
          • Jan 2007
          • 3

          #5
          Craig;

          Beautiful - works like a charm!
          Thanks so much!

          Mark

          Comment

          • eedwards
            Visitor
            • Aug 2008
            • 6

            #6
            @Craig

            What ftp clients might support ftps? I wasn't aware of many others that do.

            Comment

            • Zoë
              Team Scooter
              • Oct 2007
              • 2666

              #7
              There are actually quite a few, though I can't comment on most of them. Mark (meeque) is using FTPVoyager and it supports enabling/disabling the "HOST" command, which would allow you to test whether that's the issue. Filezilla, CoreFTP, and CuteFTP also all support FTP over SSL.
              Zoë P Scooter Software

              Comment

              • eedwards
                Visitor
                • Aug 2008
                • 6

                #8
                QUIT?

                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?)

                Comment

                • Zoë
                  Team Scooter
                  • Oct 2007
                  • 2666

                  #9
                  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?
                  Zoë P Scooter Software

                  Comment

                  • eedwards
                    Visitor
                    • Aug 2008
                    • 6

                    #10
                    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.

                    Comment

                    • Zoë
                      Team Scooter
                      • Oct 2007
                      • 2666

                      #11
                      I sent an message to the email address you used to register in the forums.
                      Zoë P Scooter Software

                      Comment

                      • eedwards
                        Visitor
                        • Aug 2008
                        • 6

                        #12
                        Ok...I will try that version out

                        Comment

                        • eedwards
                          Visitor
                          • Aug 2008
                          • 6

                          #13
                          I reverted and could not connect. So it would appear that something was broken in my IIS ftps setup. Thanks for the assistance. -ee-

                          Comment

                          Working...