hno Posted February 11, 2010 Share Posted February 11, 2010 HI I want to make a back up script via ftp for my site . I mean , It could take a backup from my files daily and transfer them to another Host . I have cron job for running the back up page daily . How can I do so ? thanks Quote Link to comment Share on other sites More sharing options...
WolfRage Posted February 11, 2010 Share Posted February 11, 2010 The CURL libaray will help you out in this case. http://php.net/manual/en/book.curl.php Give it a shot and then come back when you run into problems. Quote Link to comment Share on other sites More sharing options...
hno Posted February 11, 2010 Author Share Posted February 11, 2010 The CURL libaray will help you out in this case. http://php.net/manual/en/book.curl.php Give it a shot and then come back when you run into problems. thanks for your help but i coudn't use curl because my host doesn't allow it .. any other idea Quote Link to comment Share on other sites More sharing options...
WolfRage Posted February 11, 2010 Share Posted February 11, 2010 You can try using fsockopen, but you may be mostly on your own with that. However maybe this script will be handy for you. http://www.phpclasses.org/browse/package/281.html fsockopen() http://php.net/manual/en/function.fsockopen.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.