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 Link to comment https://forums.phpfreaks.com/topic/191731-need-a-backup-script/ 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. Link to comment https://forums.phpfreaks.com/topic/191731-need-a-backup-script/#findComment-1010595 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 Link to comment https://forums.phpfreaks.com/topic/191731-need-a-backup-script/#findComment-1010616 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 Link to comment https://forums.phpfreaks.com/topic/191731-need-a-backup-script/#findComment-1010641 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.