server to server ftp client?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spacedog
    Yes that IS me. Bitch.
    • Nov 2001
    • 14149

    #1

    server to server ftp client?

    Is there a way to ftp from one server to the next instead of downloading onto local & then ftp back up to next server. I use core ftp, can I do it with this somehow, or do I need to buy another ftp client
  • BoyAlley
    So Fucking Gay
    • Nov 2004
    • 19714

    #2
    Depends on your servers to be honest. If you have shell access it should be easy enough to do.

    www.CuteFTP.com also has built-in functions to facilitiate this on compatible servers.

    Comment

    • SplitInfinity
      Confirmed User
      • Dec 2002
      • 3047

      #3
      Yep,

      You can use "FXP" or more commonly, just login to ssh and ftp from one server to the other like so:


      shell> ftp theotherserver.com
      user: somebody
      password: *******

      To learn how to use it, visit the following URL's:

      This is a windows example, but the commands are the same.
      http://www.tburke.net/info/misc/cmdline-ftp.htm

      Heres a good overview:
      http://www.ucc.ie/doc/other/howtoftp.html


      Note: The ftp client and server programs already exist on your servers.

      Also, you could use scp. :-) My personal favorite....

      Do it like this:

      cd into the directory where your source files are...

      cd /home/someshit

      then

      scp -Cpr * [email protected]:/home/somepath/tosomeshit

      the system will ask you for the password to the other box and voila, it copies.

      :-)

      Comment

      • spacedog
        Yes that IS me. Bitch.
        • Nov 2001
        • 14149

        #4
        Originally posted by BoyAlley
        Depends on your servers to be honest. If you have shell access it should be easy enough to do.

        www.CuteFTP.com also has built-in functions to facilitiate this on compatible servers.
        I have that on the new server, but not on the one I want to move off of.

        Comment

        • spacedog
          Yes that IS me. Bitch.
          • Nov 2001
          • 14149

          #5
          Originally posted by SplitInfinity
          Yep,

          You can use "FXP" or more commonly, just login to ssh and ftp from one server to the other like so:


          shell> ftp theotherserver.com
          user: somebody
          password: *******

          To learn how to use it, visit the following URL's:

          This is a windows example, but the commands are the same.
          http://www.tburke.net/info/misc/cmdline-ftp.htm

          Heres a good overview:
          http://www.ucc.ie/doc/other/howtoftp.html


          Note: The ftp client and server programs already exist on your servers.

          Also, you could use scp. :-) My personal favorite....

          Do it like this:

          cd into the directory where your source files are...

          cd /home/someshit

          then

          scp -Cpr * [email protected]:/home/somepath/tosomeshit

          the system will ask you for the password to the other box and voila, it copies.

          :-)
          thanks,, I need to bookmark this,,

          ok, now that this parts getting done, now I ned to learn how to move mySql databases without fucking up the info...

          Comment

          • SplitInfinity
            Confirmed User
            • Dec 2002
            • 3047

            #6
            Grab a server here, I will teach you those things and do the inital stuff for you, while at the same time show you how to do it so you learn to be muy chingon. :-)
            Last edited by SplitInfinity; 06-06-2006, 12:00 AM. Reason: cant spell

            Comment

            • SplitInfinity
              Confirmed User
              • Dec 2002
              • 3047

              #7
              If the versions of mysql are compatible on each server....

              you can:
              cd /var/lib/mysql

              then use that scp command above I showed you and scp it over to the other server in the same place.

              On the destination server, first do this:

              mv /var/lib/mysql /var/lib/mysql_new_original
              that moves the fresh install data out of the way

              Next make the directory again:
              mkdir /var/lib/mysql

              (make sure the permissions are the same as the original mysql directory)

              ls -la /var/lib/mysql_new_original will show you the proper permissions.

              NOTE: before moving it over...

              stop mysql on both servers... typically:
              service mysqld stop

              Comment

              • SplitInfinity
                Confirmed User
                • Dec 2002
                • 3047

                #8
                Notice: there *are* better ways to do this via mysqldump and etc, but thats beyond the scope of whats easy to explain. ;-)

                Comment

                • d00t
                  Confirmed User
                  • Sep 2002
                  • 3766

                  #9
                  rsync 4L

                  Comment

                  • u-Bob
                    there's no $$$ in porn
                    • Jul 2005
                    • 33063

                    #10
                    FlashFXP...

                    Comment

                    • BradM
                      Confirmed User
                      • Dec 2003
                      • 3397

                      #11
                      Originally posted by d00t
                      rsync 4L
                      troof dat

                      Comment

                      • Methodcash Rick
                        Confirmed User
                        • Jul 2004
                        • 1720

                        #12
                        Simply do it through SSH.

                        tar cfp - SOURCE_DIRECTORY/ | ssh root@your_ip_address cd /DESTINATION_DIRECTORY/ ; tar xf -

                        That'll do the current directory, recurrsive, and maintain all permissions.

                        Comment

                        • directfiesta
                          Too lazy to set a custom title
                          • Oct 2002
                          • 30160

                          #13
                          Originally posted by d00t
                          rsync 4L
                          yep ....
                          I know that Asspimple is stoopid ... As he says, it is a FACT !

                          But I can't figure out how he can breathe or type , at the same time ....

                          Comment

                          • AtlantisCash
                            Confirmed User
                            • Dec 2005
                            • 3179

                            #14
                            flash fxp...
                            Kız telefonları
                            |
                            Telefonda seks sohbet

                            Comment

                            • G-Rotica
                              Confirmed User
                              • Aug 2005
                              • 4258

                              #15
                              i use fxp, works great. i even paid for it, i like it so much.

                              Comment

                              Working...