site to site transfers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • huh?
    Junior Member
    • Apr 2004
    • 12

    site to site transfers

    I have a need to do mulitple site-to-site transfers frequently.
    Using FlashFXP these always fail.

    Are Dathorn servers configured to block site-to-site FTP?
    Is there a workaround?
  • AndrewT
    Administrator
    • Mar 2004
    • 3653

    #2
    The most reliable way to do this is directly via SSH either using FTP (or preferably SCP) on one server to grab the data from the other.

    Comment

    • AndrewT
      Administrator
      • Mar 2004
      • 3653

      #3
      However, if you submit a ticket, I can double check that this is enabled on your server.

      Comment

      • huh?
        Junior Member
        • Apr 2004
        • 12

        #4
        ...geeze, I love this place.


        I will do both.

        "...directly via SSH either using FTP (or preferably SCP) on one server to grab the data from the other."
        Can someone point me toward an info source to get a background on doing the above?

        Many, many thanks for your help.

        Comment

        • ZYV
          Senior Member
          • Sep 2005
          • 315

          #5
          With SSH I'd just do something like

          tar -... public_html file.tbz && mv file.tbz ./public_html
          then

          wget domain.com/file.tbz && tar -xjf file.tbz
          and finally

          rm ./public_html/file.tbz
          Er... never remember all those tar switches bad memory. I've always proceeded like this on Dathorn and all the moves were quick and flawless.

          HTH, Z.

          Comment

          • mystic
            Member
            • Nov 2006
            • 59

            #6
            To do this with SCP so that the transfer is secure..

            Code:
            tar cf public_html.tar public_html/
            gzip public_html.tar
            on the other machine
            Code:
            scp username@domain.com:/home/username/public_html.tar.gz .
            tar zxf public_html.tar.gz
            rm public_html.tar.gz

            Comment

            • huh?
              Junior Member
              • Apr 2004
              • 12

              #7
              OK, you got me rolling. THANK YOU.

              Today I'll attempt to acquire a background in ftp scripting.
              (FTP commands found at: http://www.simotime.com/ftp4cmd1.htm )

              What I need to accomplish is a script to update many sites from a single template site. Each site is a replication of a CMS (DragonFly), which will be continually revised. What I'm hoping is that a single script can be created that refers to a text file list for the list of sites to be updated and the files to upload. A manual process would be fine, but in about a year this system of sites will number over 600. Any insights welcome.

              Many thanks again for your help.


              Below is a note for the forum archive regarding the original question, which fell below the radar of advanced users.
              Apparently site-to-site only works in 'secure' mode. So in FlashFXP site manager, each site needs to select the SSL options for "Auth TLS" (SSL may work too); check 'Secure site to site..." and "Turn off fingerprint checking...". And in the Options tab, UNcheck "Use Passive mode". These may not be the best but got the transfers going fine (after the server was updated to allow site to site).

              Comment

              • AndrewT
                Administrator
                • Mar 2004
                • 3653

                #8
                Originally posted by huh?
                Below is a note for the forum archive regarding the original question, which fell below the radar of advanced users.
                Apparently site-to-site only works in 'secure' mode. So in FlashFXP site manager, each site needs to select the SSL options for "Auth TLS" (SSL may work too); check 'Secure site to site..." and "Turn off fingerprint checking...". And in the Options tab, UNcheck "Use Passive mode". These may not be the best but got the transfers going fine (after the server was updated to allow site to site).
                Glad to hear that you did get it working.

                Comment

                • ZYV
                  Senior Member
                  • Sep 2005
                  • 315

                  #9
                  mystic, thanks, you should be right. I've just never got an experience with SCP and sensible enough data to care about it so much. I gonna take a look anyway.

                  Comment

                  Working...