Results 1 to 4 of 4
  1. #1
    "An Englishman In New York" TJ's Avatar
    Join Date
    January 18th, 2005
    Posts
    3,282
    I found this script all over the web but it doesn't seem to work for me... I tried it on 2 different servers... anyone have it working?<pre class="ip-ubbcode-code-pre">&lt;?php
    $host = "server.domain.com";
    $socket = fsockopen($host,2082);
    $user = "cpanelusername";
    $password = "cpanelpassword";
    $authstr = "$user:$password";
    $pass = base64_encode($authstr);
    $in = "GET /frontend/x/backup/dofullbackup.html?dest=ftp&email=email@address.com&server=
    ftp.remoteserver.com&user=remoteftpusername&pass=
    remoteftppassword&submit=Generate Backup HTTP/1.0\r\nAuthorization: Basic $pass \r\n";

    fputs($socket,$in);
    fclose( $socket );
    ?&gt;</pre>

    [This message was edited by Tj on February 15, 2004 at 11:23 PM.]

  2. #2
    Affiliate Miester my2cents's Avatar
    Join Date
    January 18th, 2005
    Location
    far far away....
    Posts
    2,161
    is there a unknown firewall?

    I know on one of my hosting accounts there is a firewall the prevents me from uesing the account for any thing more then static pages..

    And, that's the bottom line because it's my2cents!

  3. #3
    "An Englishman In New York" TJ's Avatar
    Join Date
    January 18th, 2005
    Posts
    3,282
    No firewall AFAIK, and even if I change the dest= from ftp to homedir it still doesn't work

  4. #4
    "An Englishman In New York" TJ's Avatar
    Join Date
    January 18th, 2005
    Posts
    3,282
    I found someone on DevShed with the same problem... guess I'll keep looking for help, I posted a message over at cPanel too

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Google Now Providing Paper Email Backups
    By Cheesehead in forum Virtual Family and Off-Topic
    Replies: 9
    Last Post: April 1st, 2008, 01:00 PM
  2. Quick note about backups
    By Schooner in forum Midnight Cafe'
    Replies: 5
    Last Post: January 28th, 2007, 11:42 PM
  3. server backups
    By kapsat in forum Domains & Hosting
    Replies: 1
    Last Post: May 28th, 2005, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •