Welcome Guest, Not a member yet? Register   Sign In
Ftp class - reverse mirror function?
#2

[eluser]pickupman[/eluser]
If your server's are two different machines, what protocol would you use to access the webserver? A possible solution is to have both services on both machines, on the FTP server create the script the runs the mirror function. Have the function mirror to the webserver. Then create a script on the webserver, that calls via cURL or wget the url on the ftp server. This would trigger the script to run, and sync the ftp to the webserver.
If you have full access to the servers, you may also be able to use Subversion.


Messages In This Thread
Ftp class - reverse mirror function? - by El Forum - 04-26-2010, 03:12 PM
Ftp class - reverse mirror function? - by El Forum - 04-26-2010, 06:57 PM
Ftp class - reverse mirror function? - by El Forum - 04-26-2010, 07:55 PM
Ftp class - reverse mirror function? - by El Forum - 06-07-2010, 10:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB