Re: upload file
| From: | Bastien Koert | Date: | Sat, 05 Jul 2008 14:55:48 +0000 |
| Subject: | Re: upload file | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45122@lists.php.net to get a copy of this message | ||
On Fri, Jul 4, 2008 at 11:35 PM, Ron <ron@silverbackasp.com> wrote:
> Hi,
>
> I dont know if this question is allowed here:
>
> i have a web interface that let's user upload file, but i have 2 servers
> and use dns round-robin. when a user uploads a file, it will only be
> uploaded on one of the servers.
>
> how can i make sure that when a file is uploaded on one server it will also
> be transferred on the other server?
>
> can i use php to execute the rsync command, and transfer the uploaded file
> to the other server? or are there other ways to transfer? thank you
>
> regards,
> ron
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
why not designate one place to store that data? then all files will be in
the same place and you can avoid wasting space with duplicated data?
--
Bastien
Cat, the other other white meat