Transferring files between 2 servers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hypo
    So Fucking Banned
    • Feb 2001
    • 1104

    #1

    Transferring files between 2 servers

    Is there an easy way to transfer files between two servers than zip>download>upload>unzip ?

    I need some 3 Gigabytes of files/folders/subfolders shifted to another server. And my cable is down for a couple of days.
  • JackFoley
    Confirmed User
    • Jul 2001
    • 858

    #2
    Try http://www.flashfxp.com
    SUBMIT | TRADE | CONTACT

    Comment

    • X-raid
      Confirmed User
      • Jul 2001
      • 328

      #3
      Yes it's so easy to fxp something with flashfxp... try it...

      ------------------
      I can kill you, so fuck off!
      I can kill you, so fuck off!

      Comment

      • Hypo
        So Fucking Banned
        • Feb 2001
        • 1104

        #4
        Thanks. Does this use the servers' bandwidth or my connection?

        Comment

        • deluxe
          Confirmed User
          • Feb 2001
          • 1434

          #5
          I would say the server but I'm not sure.

          ------------------
          HQ content 4 low prices! Please tell them Deluxe has send you.

          [email protected]
          77717734
          NO LOGO

          Comment

          • X-raid
            Confirmed User
            • Jul 2001
            • 328

            #6
            Yes it uses the servers' bandwidth and not yours!

            ------------------
            I can kill you, so fuck off!
            I can kill you, so fuck off!

            Comment

            • Hypo
              So Fucking Banned
              • Feb 2001
              • 1104

              #7
              I'm trying to transfer between two servers and I keep getting the message -


              PASV
              227 Entering Passive Mode (IP address here)
              PORT IP-address-here
              500 Illegal PORT command
              Site to Site Transfer Failed!
              Transfer Failed!


              Whats wrong?

              Comment

              • Hypo
                So Fucking Banned
                • Feb 2001
                • 1104

                #8
                I enabled some alternative method on both sites and it still doesnt work.

                Comment

                • TFCash
                  Confirmed User
                  • Apr 2001
                  • 1738

                  #9
                  Hypo -

                  The 2 servers that you are copying between have to support the protocals in order to do a copy between them with that software. So if that won't work for you, do you have telnet/ssh access on either of the servers ?? If so you could login and just do the transfer that way.


                  Tim
                  TeenFlood.com Online since 1998.

                  TFCash KissMeGirl
                  VirginRiches MondoBucks

                  tim at tfcash.com or submit a ticket at our HelpDesk

                  Comment

                  • Hypo
                    So Fucking Banned
                    • Feb 2001
                    • 1104

                    #10
                    I have telnet/ssh on both servers. How exactly do I transfer the files? What command? Any script?

                    Comment

                    • Kimmykim
                      bitchslapping zebras!!!!!
                      • Jun 2001
                      • 16015

                      #11
                      Why not just ask your host to tar up the files and move them for you?

                      Comment

                      • Hypo
                        So Fucking Banned
                        • Feb 2001
                        • 1104

                        #12
                        I dont think my host will help me shift to another host :P

                        Comment

                        • RK
                          Confirmed User
                          • Aug 2001
                          • 868

                          #13
                          Originally posted by Hypo:
                          I dont think my host will help me shift to another host :P
                          Will your new host help you move from the old host?

                          We do that.

                          ------------------
                          Pay-As-You-Go Hosting FREE Trial!
                          Below $.90/GB Dedicated Hosting
                          EnergyHosting - Energizing your business
                          Does anyone look down here?

                          Comment

                          • m0rph3us
                            Confirmed User
                            • Mar 2001
                            • 2033

                            #14
                            Don't use FXP, you will lose permissions/ownerships on files...

                            Here's a quick guide:

                            Login to telnet of old host.
                            1. Goto directory where you web files are... ie /home/site/me/web and type

                            tar -cpf backup.tar *

                            2. wait a while.. now all your files have been "zipped". Now at shell type

                            ftp
                            open www.newserver.com
                            put your login and pass in
                            put backup.tar

                            Now you wait a looong time till transfer is done..

                            3 FTP in your new host and move the .tar file in the web visible folder.

                            4. Telnet in and now type in the folder that the .tar is in:

                            tar -xpf backup.tar

                            Wait a while...

                            =) Done!

                            rm backup.tar removes the file

                            Tadaa!
                            <font size="2" face="Tahoma"><a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Get paid $25 per signup</a> listing over <a href="http://galleries.18blowjobs.com/hosted.html" target="_blank">100 free hosted video galleries</a> - <a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Check it</a> » </font>

                            Comment

                            • fantasyc
                              Confirmed User
                              • Apr 2001
                              • 672

                              #15
                              Can't you just FTP them from one server to the other? I use SmartFTP and I can transfer from one server to another with no problem.

                              ------------------
                              Tracy ;)
                              Fantasy Content
                              http://www.fantasycontent.com
                              hit me up on icq for a content deal you can t pass up icq 495-066-342

                              Comment

                              • RK
                                Confirmed User
                                • Aug 2001
                                • 868

                                #16
                                Originally posted by fantasyc:
                                Can't you just FTP them from one server to the other? I use SmartFTP and I can transfer from one server to another with no problem.
                                This is called FXP and is described above.
                                Does anyone look down here?

                                Comment

                                • m0rph3us
                                  Confirmed User
                                  • Mar 2001
                                  • 2033

                                  #17
                                  Originally posted by fantasyc:
                                  Can't you just FTP them from one server to the other? I use SmartFTP and I can transfer from one server to another with no problem.

                                  Not all servers allow FXP. Some servers are firewalled an don't allow connections incoming to any port. Plus FXP loses file permissions/ownerships.
                                  <font size="2" face="Tahoma"><a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Get paid $25 per signup</a> listing over <a href="http://galleries.18blowjobs.com/hosted.html" target="_blank">100 free hosted video galleries</a> - <a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Check it</a> » </font>

                                  Comment

                                  • Hypo
                                    So Fucking Banned
                                    • Feb 2001
                                    • 1104

                                    #18
                                    Morpheus thanks for the step-by-step guide! That seems to be working!!

                                    Now, if I want to tar only a few directories and not all, how can I do that?

                                    So if I have directories dira, dirb, dirc, diry and dirz
                                    and I want to tar only dira, dirb and dirc, how do I do that? Cos their are some directories having 2 gigs of file that I dont want to tar and transfer.

                                    Is there a function like -
                                    tar -cpf backup.tar dira + dirb + dir c
                                    or preferably
                                    tar -cpf backup.tar * - dirz -diry
                                    ?

                                    P.S. I confirmed that my server doesnt support fxping

                                    Comment

                                    • Hypo
                                      So Fucking Banned
                                      • Feb 2001
                                      • 1104

                                      #19
                                      I see I can use an append function slightly tediously -

                                      tar rpf backup.tar dira
                                      tar rpf backup.tar dirb
                                      tar rpf backup.tar dirc

                                      This should work right? I have around 30 folders so it will be tedious.

                                      Comment

                                      • m0rph3us
                                        Confirmed User
                                        • Mar 2001
                                        • 2033

                                        #20
                                        Originally posted by Hypo:
                                        I see I can use an append function slightly tediously -

                                        tar rpf backup.tar dira
                                        tar rpf backup.tar dirb
                                        tar rpf backup.tar dirc

                                        This should work right? I have around 30 folders so it will be tedious.
                                        yah it is tedious... =( if you did it like * it would tar all direcories and subdirectories etc... works best. Whatever you do.. don't take the 'p' out of the expression or you'll lose permissions.
                                        <font size="2" face="Tahoma"><a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Get paid $25 per signup</a> listing over <a href="http://galleries.18blowjobs.com/hosted.html" target="_blank">100 free hosted video galleries</a> - <a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Check it</a> » </font>

                                        Comment

                                        Working...