Re: [PHP] moving file from one server to another

2006-10-02 Thread Richard Lynch
On Sat, September 30, 2006 4:29 am, Nick Wilson wrote: i have thttpd (a very light weight http server) running as an image server on one box, and users uploading images to another php/apache powered box. I need to let users upload to the regular LAMP box, but then copy the image over to the

Re: [PHP] moving file from one server to another

2006-10-02 Thread Richard Lynch
On Sat, September 30, 2006 5:25 am, Nick Wilson wrote: 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 :) Here's your

[PHP] moving file from one server to another

2006-09-30 Thread Nick Wilson
hi, i have thttpd (a very light weight http server) running as an image server on one box, and users uploading images to another php/apache powered box. 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

Re: [PHP] moving file from one server to another

2006-09-30 Thread Google Kreme
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

Re: [PHP] moving file from one server to another

2006-09-30 Thread Nick Wilson
* 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

Re: [PHP] moving file from one server to another

2006-09-30 Thread Tony Di Croce
How about nfs mounting a directory from the image server to a directory on the lamp server. This way, the files are never really on the LAMP server... td On 9/30/06, Nick Wilson [EMAIL PROTECTED] wrote: * and then Google Kreme declared On 30 Sep 2006, at 03:29 , Nick Wilson wrote:

Re: [PHP] moving file from one server to another

2006-09-30 Thread Nick Wilson
* and then Tony Di Croce declared How about nfs mounting a directory from the image server to a directory on the lamp server. This way, the files are never really on the LAMP server... yeh, that had ocurred to me, and may be a good solution Tony. The only thing that worried me was not