tmyonline Posted October 2, 2008 Share Posted October 2, 2008 Hi guys: I have two servers; one in staging and the other in production. Suppose my website is sitting on either of these two servers. My clients prefer that I create a button on the website so that when they click that button, it will transfer the files they want from staging to production without further help from me. Of course, this can be done if I download the files from staging to my local computer and then upload them to the production. But, this seems like a round trip process. I'm wondering if PHP supports any code that does the file transfer protocol (ftp) from one server to another server by just clicking on a button. I greatly appreciate your response. Thanks. Link to comment https://forums.phpfreaks.com/topic/126756-how-to-tell-php-to-transfer-files-from-one-server-to-another-directly/ Share on other sites More sharing options...
discomatt Posted October 2, 2008 Share Posted October 2, 2008 http://php.net/manual/en/book.ftp.php Link to comment https://forums.phpfreaks.com/topic/126756-how-to-tell-php-to-transfer-files-from-one-server-to-another-directly/#findComment-655611 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.