Re: Moving files between 2 servers??
| From: | Richard Lynch | Date: | Thu, 08 Feb 2001 09:55:20 +0000 |
| Subject: | Re: Moving files between 2 servers?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38729@lists.php.net to get a copy of this message | ||
> I'm toying around with the thought of a dev-site/live-site administration
> system. Among other things, administrators would be able to remotely (via
a
> web interface), push files from the dev-site to the live-site.
>
> Can anyone help me understand what it would take to do this? Ideally, we
> could come up with a platform-independent solution, but I'm currently
> working with 2 NT boxes.
>
> I suspect this would be possible by using exec() or possibly shell_exec()
to
> mount the remote volume and perfom file copies. If this would work, can
> anyone help me with the syntax?
I would think the PHP FTP features or using cURL to do SCP (if cURL can do
that) would be better...
Especially as exec() is reputed to not work on Windows.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm