Jump to content

How to tell PHP to transfer files from one server to another directly ?


tmyonline

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.