detailed FTP command/parameters ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ricorico94
    Visitor
    • Jun 2010
    • 8

    detailed FTP command/parameters ?

    Hi,
    Is there a way to view the actual commands sent by BC3 to FTP server ?
    I have a weird behavior: filezilla can still connect to my remote FTP server, but BC3 is apparently rejected (even with Filezilla disconnected).
    BC3 error is (translated into English, sorry for poor translation) : no connection could be established due to target computer having formally rejected it.
    Weird, since I did not change login/pwd nor parameters (at least I don't see any change) and Filezilla connections still work well.

    br,
    ricorico94
  • Zoë
    Team Scooter
    • Oct 2007
    • 2666

    #2
    The log at the bottom of the directory compare (available as View->Show Log in the menu) shows all of the commands that BC sends. That particular one means that it wasn't able to connect at all though, so it was never able to send any commands. The most common reason for that is a firewall issue or trying to connect to the wrong remote port (21 for FTP, 22 for SFTP, 990 for FTP over implicit SSL).
    Zoë P Scooter Software

    Comment

    • Chris
      Team Scooter
      • Oct 2007
      • 5538

      #3
      BC3 should show details of the FTP connection in the log pane at the bottom of the Folder Compare or Folder Sync window.

      If you are having trouble connecting, please send a copy of the log showing a problem connection to [email protected]. Also, please include a copy of your Beyond Compare 3 settings.

      To save the log to a file, click the Save button on the left side of the green log pane. To save your BC3 settings to a file, select "Help > Support" from the menu and click the Export button.
      Chris K Scooter Software

      Comment

      • ricorico94
        Visitor
        • Jun 2010
        • 8

        #4
        Hi,
        In the log file, I can only read:

        07/06/2010 18:06:16 Nom d'utilisateur : XXX\XXXX (I replaced actual login by X)
        07/06/2010 18:06:18 Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée
        07/06/2010 18:06:18 Charger la comparaison : F:\BackupDD\Fichiers Download <->

        note that I have checked all settings in Log parameters. This does not say much about why it can not connect.. I can not see any FTP command (AUTH TLS, USER XXX,..).
        This morning it was connecting properly, and on a PC with no firewall (for easiness of testing !). Moreover, Filezilla is connecting from same PC and can connect as mentionned.

        br,
        Ricorico94
        I forgot to mention that I use FTPS, in case it matters..

        Comment

        • Zoë
          Team Scooter
          • Oct 2007
          • 2666

          #5
          Try changing the port to 990. In the path edit it would look like:

          ftps://xxx@xxx:990/
          Zoë P Scooter Software

          Comment

          • Chris
            Team Scooter
            • Oct 2007
            • 5538

            #6
            It might be trying to connect on the wrong port. If you haven't specified a port, BC3 is probably connecting to port 21. It's possible Filezilla is connecting on port 990.

            In BC3, click on the browse button to connect to your FTPS server. Go to the "FTP Site" tab. Select "FTPS" as the protocol, then enter 990 as the port to connect on.
            Chris K Scooter Software

            Comment

            • ricorico94
              Visitor
              • Jun 2010
              • 8

              #7
              Thanks for help. Still unsuccessful, even with port 990.. and I checked Filezilla, which is connecting to port 21.

              Regarding log file of BC3, I get only few info, depsite all checkmarks are selected (details, trace FTP,..):
              07/06/2010 22:34:05 Nom d'utilisateur : XXXXX\YYYY
              07/06/2010 22:34:05 Charger la comparaison : <->
              07/06/2010 22:35:00 Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée
              07/06/2010 22:35:05 Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée
              07/06/2010 22:35:05 Charger la comparaison : <->
              07/06/2010 22:45:26 Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée

              At same time, Filezilla gives me:
              Statut : Résolution de l'adresse de olsv6.com
              Statut : Connexion à 208.66.232.113:21...
              Statut : Connexion établie, attente du message d'accueil...
              Réponse : 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
              Réponse : 220-You are user number 53 of 200 allowed.
              Réponse : 220-Local time is now 12:31. Server port: 21.
              Réponse : 220-IPv6 connections are also welcome on this server.
              Réponse : 220 You will be disconnected after 15 minutes of inactivity.
              Commande : AUTH TLS
              Réponse : 234 AUTH TLS OK.
              Statut : Initialisation TLS...
              Statut : Vérification du certificat...
              Commande : USER xxxxxxxx
              Statut : Connexion TLS/SSL établie.
              Réponse : 331 User xxxxxxx OK. Password required
              Commande : PASS **********
              Réponse : 230-User xxxxxxx has group access to: www-data
              Réponse : 230 OK. Current directory is /
              Commande : SYST
              Réponse : 215 UNIX Type: L8
              Commande : FEAT
              Réponse : 211-Extensions supported:
              Réponse : EPRT
              Réponse : IDLE
              Réponse : MDTM
              Réponse : SIZE
              Réponse : REST STREAM
              Réponse : MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNI X.gid*;unique*;
              Réponse : MLSD
              Réponse : AUTH TLS
              Réponse : PBSZ
              Réponse : PROT
              Réponse : TVFS
              Réponse : ESTA
              Réponse : PASV
              Réponse : EPSV
              Réponse : SPSV
              Réponse : ESTP
              Réponse : 211 End.
              Commande : PBSZ 0
              Réponse : 200 PBSZ=0
              Commande : PROT P
              Réponse : 200 Data protection level set to "private"
              Statut : Connecté
              Statut : Récupération du contenu du dossier...
              Commande : PWD
              Réponse : 257 "/" is your current location
              Commande : TYPE I
              Réponse : 200 TYPE is now 8-bit binary
              Commande : PASV
              Réponse : 227 Entering Passive Mode (208,66,232,113,72,136)
              Commande : MLSD
              Réponse : 150 Accepted data connection
              Réponse : 226-Options: -a -l
              Réponse : 226 7 matches total
              Statut : Succès de la lecture du contenu du dossier
              Réponse : 421 Timeout - try typing a little faster next time
              Erreur : GnuTLS error -9: A TLS packet with unexpected length was received.
              Statut : Le serveur n'a pas correctement interrompu la connexion TLS
              Erreur : Déconnecté du serveur : ECONNABORTED - Connection aborted

              I sent these log files and parameter sets to support for investigation.. Weird..

              Comment

              • Aaron
                Team Scooter
                • Oct 2007
                • 16008

                #8
                Hello,

                Do you have a software firewall you are currently running? If so, try disabling it temporarily to see if you can connect.

                Also, in BC3, go to the Tools menu -> FTP Profiles, specific profile, Connections tab. Turn the number of connections down to 1, and then close all BC3 windows and restart BC3.
                Aaron P Scooter Software

                Comment

                Working...