It appears that BC4 cannot connect to some ftp sites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thomas_d
    Journeyman
    • Oct 2014
    • 19

    It appears that BC4 cannot connect to some ftp sites

    Hi all

    I stumbled a few ftp servers that I cannot manage to connect to via BC4.

    I can connect to the server with FileZilla, but not with BC4. (CuteFTP doesn't work either)

    E.g.
    See screenshot for the settings placed in Filezilla: (for obvious reasons, I didn't use the actual credentials)

    Does anyone know what I'm doing wrong?

    Regards
    Thomas
    Attached Files
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    Hello Thomas,

    The first thing I notice is you have the encryption set in the screenshot. This means you are actually running FTPS, not FTP, which requires BC4 Pro. If you have Pro, in the Tools menu -> Profiles dialog, please be sure to select FTPS as your protocol type. How does this work for you?

    If you have Std edition, please follow these steps to test/try this feature:
    http://www.scootersoftware.com/suppo...?zz=kb_evalpro
    Aaron P Scooter Software

    Comment

    • thomas_d
      Journeyman
      • Oct 2014
      • 19

      #3
      Hi Aaron

      Thanks for the quick feedback.

      I've just installed BC4 and I'm trialling the new features.

      Ok, I've attempted to save a new profile with my settings.
      (PS, in filezilla I can have the Port value blank, but not in BC4 - it automatically turns the blank into a value; what do I do in this regards?)

      Now that I have the profile (hopefully) set up correctly, how do I use it? Click image for larger version

Name:	BC4_profile.jpg
Views:	1
Size:	64.4 KB
ID:	76285(see screenshot)

      Thanks
      Thomas

      Comment

      • Chris
        Team Scooter
        • Oct 2007
        • 5538

        #4
        FTPS defaults to port 21 (explicit encryption) or port 990 (implicit encryption).

        Once you've defined the profile, open a Folder Compare, then use the browse button for the left or right folder. Select the profile you just defined in the browse dialog.
        Chris K Scooter Software

        Comment

        • thomas_d
          Journeyman
          • Oct 2014
          • 19

          #5
          I've tried both 21 and 990 combinations, and I get this Click image for larger version

Name:	loading_folder_error.jpg
Views:	1
Size:	16.7 KB
ID:	76289error.

          This is what I get in the log:
          Port 21
          19/10/2014 1:01:11 PM Unable to load ftps://[email protected]/: Connection Closed Gracefully.

          Port 990
          19/10/2014 12:55:12 PM Unable to load ftps://[email protected]:990/: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

          Any other suggestions?

          Have you had any other reported ftps server that BC couldn't connect to?

          Thanks
          Thomas

          Comment

          • Aaron
            Team Scooter
            • Oct 2007
            • 15997

            #6
            Hello,

            Do you know the expected port, and if your server is defined to be an Implicit or Explicit FTPS server? The port is undefined in your earlier Filezilla screenshot, but what port does it eventually connect to in the Filezilla connection log?

            Filezilla might have extra error handling or is better able to alter settings on the fly to connect to a server. BC3/4 and Cute would need the client settings to be setup correct prior to connection.
            Aaron P Scooter Software

            Comment

            • thomas_d
              Journeyman
              • Oct 2014
              • 19

              #7
              Originally posted by Aaron
              Hello,

              Do you know the expected port, and if your server is defined to be an Implicit or Explicit FTPS server? The port is undefined in your earlier Filezilla screenshot, but what port does it eventually connect to in the Filezilla connection log?
              My previous filezilla screenshot has "Requires Explicit FTP over TLS"?

              Filezilla appears to default it to 21 if the port value is blank. Hopefully the below will offer some clues (the italics are values I didn't want to disclose for obvious reasons)
              "Status: Resolving address of ftps.server.com
              Status: Connecting to ##.###.###.###:21...
              Status: Connection established, waiting for welcome message...
              Response: 220-Welcome to Pure-FTPd.
              Response: 220-You are user number 1 of 32 allowed.
              Response: 220-This is a private system - No anonymous login
              Response: 220 You will be disconnected after 15 minutes of inactivity.
              Command: AUTH TLS
              Response: 234 AUTH TLS OK.
              Status: Initializing TLS...
              Status: Verifying certificate...
              Command: USER username
              Status: TLS/SSL connection established.
              Response: 331 User ifmepc OK. Password required
              Command: PASS ^^^^^^
              Response: 230-User username has group access to: value1 value2 value3
              Response: 230- value3 value4 value5
              Response: 230-This server supports FXP transfers
              Response: 230 OK. Current restricted directory is /
              Command: SYST
              Response: 215 UNIX Type: L8
              Command: FEAT
              Response: 211-Extensions supported:
              Response: EPRT
              Response: IDLE
              Response: MDTM
              Response: SIZE
              Response: REST STREAM
              Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNI X.gid*;unique*;
              Response: MLSD
              Response: AUTH TLS
              Response: PBSZ
              Response: PROT
              Response: TVFS
              Response: ESTA
              Response: PASV
              Response: EPSV
              Response: SPSV
              Response: 211 End.
              Status: Server does not support non-ASCII characters.
              Command: PBSZ 0
              Response: 200 PBSZ=0
              Command: PROT P
              Response: 200 Data protection level set to "private"
              Status: Connected
              Status: Retrieving directory listing...
              Command: PWD
              Response: 257 "/" is your current location
              Command: TYPE I
              Response: 200 TYPE is now 8-bit binary
              Command: PASV
              Response: 227 Entering Passive Mode (65,197,201,204,196,27)
              Command: MLSD
              Response: 150 Accepted data connection
              Response: 226-ASCII
              Response: 226-Options: -l
              Response: 226 18 matches total
              Status: Directory listing successful"

              Comment

              • Aaron
                Team Scooter
                • Oct 2007
                • 15997

                #8
                Thanks. Could you email us at [email protected] with a copy of your BCSupport.zip and a copy of the FTP connection log, and a link back to this forum thread?

                You can generate a BCSupport.zip from the Help menu -> Support; Export.
                Aaron P Scooter Software

                Comment

                • thomas_d
                  Journeyman
                  • Oct 2014
                  • 19

                  #9
                  I noticed that on the Export window, it says 'passwords will not be included'. But considering that you won't have the password, how will you be able to reproduce?

                  Sorry I just need a few more details before I send you sensitive server information. Cheers!

                  Comment

                  • Aaron
                    Team Scooter
                    • Oct 2007
                    • 15997

                    #10
                    I wasn't looking to reproduce; I was going to review your settings to make sure we were on the same page across the board. If you could also include the current (failing) BC4 connection log, that would be great.

                    Being able to connect with passwords would certainly help, if including them was an option. If you have the ability to create and test with test accounts, we could use those.
                    Aaron P Scooter Software

                    Comment

                    • thomas_d
                      Journeyman
                      • Oct 2014
                      • 19

                      #11
                      Unfortunately, I cannot share exact server details. If sending you an BC export or server details is the only possible way to assist me than this thread can be considered closed. Sorry about that!

                      Am I the only one that reported a ftp server that BC4 cannot connect to? If I am, than maybe I'm actually doing something wrong or the server itself has certain rare\unqiue settings that aren't supported.

                      Comment

                      • Aaron
                        Team Scooter
                        • Oct 2007
                        • 15997

                        #12
                        The BC export wouldn't include passwords by default, it would just include the other configuration information to make sure everything is configured correctly. Comparing the BC log and Filezilla log would also be useful.

                        This isn't a general BC4 error, but troubleshooting an FTP connection is tricky due to the large variety and configuration of various FTP servers. Directly connecting is very useful, but we can also continue to troubleshoot remotely with your help if you are interested.
                        Aaron P Scooter Software

                        Comment

                        Working...