Re: moving file from one server to another

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* and then Google Kreme declared....
> On 30 Sep 2006, at 03:29 , Nick Wilson wrote:
> >I need to let users upload to the regular LAMP box, but then copy the
> >image over to the custom image server (which does not have php or any
> >kind of cgi capability).
> >
> >I was considering using exec() and scp to do this, but thought i'd ask
> >and see if anyone had any better suggestions?
> 
> Ah... well, does the copy need to be interactive, or does it need to  
> be automatic?
> 
> I'd probably use rsync to copy the upload tree to the image server  
> myself, without involving php at all.

yes. i'd considered rsync but the file needs to be available on the
image server immediately. scp'ing it should work, but of course imnow
having fun with the apache user and try9ing to work out how to give it
an ssh profile :)

-- 
Nick Wilson
http://performancing.com/user/1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux