Php File Transfer Help Needed - Urgent

Discussion in 'PHP' started by koolasia, Dec 6, 2006.

Thread Status:
Not open for further replies.
  1. #1
    I Want to transfer a back up from 1 server to another

    its around 800 mb back up

    i do not have shell access to these servers

    can some one give me any script which will help

    php cgi or perl anything will doo
     
    koolasia, Dec 6, 2006 IP
  2. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #2
    problem is,a php script will give up before it finishes the backup, your host is likely to have thier max execution time well under the time it would take to complete the operation
     
    krakjoe, Dec 6, 2006 IP
  3. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Contact the new host and ask them to do the transfer for you.
     
    maiahost, Dec 6, 2006 IP
  4. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #4
    ^^Yeah that's your best bet, they can use mc to transfer files or something similar that's built into the system
     
    krakjoe, Dec 6, 2006 IP
  5. mich_alex

    mich_alex Well-Known Member

    Messages:
    511
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #5
    or you can start from scratch..

    but that's not a good solution tho. agreed on contact the host.
     
    mich_alex, Dec 6, 2006 IP
  6. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #6
    
    <?php
    
       set_time_limit(0);
    
    ?>
    
    PHP:
     
    CodyRo, Dec 6, 2006 IP
  7. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #7
    yeah that's great, but then if your server admin have load balancing software installed the proccess will be killed by linux, so not really a solution for the working environment.
     
    krakjoe, Dec 6, 2006 IP
  8. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You mean something that checks for high cpu / ram usage and kills it accordingly? Yes it would fall victim to it.. but so would a normal backup given any other kind of script.
     
    CodyRo, Dec 6, 2006 IP
  9. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #9
    not if it were a system service, shell script using native ftp capabilities, but certainly any sort of third party language, yes
     
    krakjoe, Dec 6, 2006 IP
Thread Status:
Not open for further replies.