help in moving files from old host to new host ?

Discussion in 'PHP' started by fuchsia555, Dec 24, 2009.

  1. #1
    is there any way to move files from old host to new host without upload the files from my computer

    i have asked my hosting about FXP but they doesn't support it

    can it be done by any way or by PHP script to move zip files by php script from old host to new host ?
     
    fuchsia555, Dec 24, 2009 IP
  2. DamienDarwick

    DamienDarwick Member

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    To my knowledge the only way is to download the files & then upload them to the new host via FTP. You will find that pretty much no hosts support FXP transfers. Why is it a problem to FTP the files?
     
    DamienDarwick, Dec 24, 2009 IP
  3. shakemelikeapig

    shakemelikeapig Peon

    Messages:
    140
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    dont quote me on this but i think you would need to somehow connect the 2 hosts together to do that and i cant think of a way you would do that, dosent your host support backups? if you use Cpanel there should be that option. i doubt there would be a way to connect the 2 hosts as they would both have here own security to prevent "strange" activity, i think this may come under that catagory
     
    shakemelikeapig, Dec 24, 2009 IP
  4. fierceservers

    fierceservers Peon

    Messages:
    338
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Is the new/old host running a control panel? If cPanel, you can set cPanel to do a full backup on the old host, and you can make it upload automatically via FTP to the new host, bypassing the need for you to download/upload anything from your computer. Then all you'd need to do is request the new host to restore the backup on their servers.

    Otherwise, you might be able to get a PHP script to compress (zip) up the contents, putting the file where it is accessible via URL, then request your new host to download/extract the contents in your web folder.
     
    fierceservers, Dec 24, 2009 IP
  5. fuchsia555

    fuchsia555 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    how can make it upload automatically via FTP ? i already have my contents in zip files , and they doesn't support FXP , and about requesting from them to backup and restore it'll cost $150 , and i think it can be done by php script to copy the zip files from the old to new host via HTTP , any one have any idea please ?
     
    fuchsia555, Dec 24, 2009 IP
  6. szalinski

    szalinski Peon

    Messages:
    341
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    use rapidleech, see my sig :p
     
    szalinski, Jan 4, 2010 IP