Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 23059 invoked by uid 500); 4 Feb 2003 08:23:55 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 23048 invoked from network); 4 Feb 2003 08:23:55 -0000 Received: from mail.sgwebspace.com (HELO sol-roth.sgwebspace.com) (63.226.251.129) by daedalus.apache.org with SMTP; 4 Feb 2003 08:23:55 -0000 Received: from soylent (unknown [63.226.251.130]) by sol-roth.sgwebspace.com (Postfix) with ESMTP id 2EAA0BEF81 for ; Tue, 4 Feb 2003 00:21:37 -0800 (PST) From: "Jeff Bert" To: Date: Tue, 4 Feb 2003 00:24:15 -0800 Message-ID: <000001c2cc26$ce87e030$6601a8c0@soylent> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] Upload Site Simultaneously?? As I stated before, use ftp and cron. It's very simple. I used it to push info created by one computer to my webserver at even intervals. jeff -----Original Message----- From: Boyle Owen [mailto:Owen.Boyle@swx.com]=20 Sent: Tuesday, February 04, 2003 12:13 AM To: Apache list Subject: RE: [users@httpd] Upload Site Simultaneously?? >-----Original Message----- >From: Alex "Sniper" Togstad [mailto:sniper@3dretreat.com] > >Having content from two computers(servers) upload whatever is in a=20 >certain dir(an idea) every 5 min to web root or something? I understand you a bit better... You have three machines, A, B and C. = All are webservers. You want to copy a file (or files) from A and B to C, = thus making the data available on C. Correct? If so, let's think about it for a minute; HTTP is a client-pull = technology, i.e. the client requests the data and the server serves it. The simplest = way then would be to have C run a client process which GETs the data from A = and B. You could then trigger the process with cron. You could write the client yourself in Perl or C or Java (you need to = open a socket, write the GET request and read the output stream). Or you could install a command-line utility like wget (www.wget.org) and just say = "wget http://server-A/file-to-get". If you absolutely MUST push the data from A and B to C, then you could = use the file upload facility of CGI.pm. In this case, you write a CGI = program on machine-C which expects a POST request containing a CGI parameter of = type "file" and name "upload". If you reference the parameter as a scalar, = you get the name of the file and if you reference it as a filehandle you get = the data. Check the CGI.pm docs at CPAN for details. Machines A and B then become the clients and make POST requests to C - = again you need to write a script to do this. So it's not entirely trivial... Rgds, Owen Boyle >It's not for me, it's for a friend. PS You know what they say; "A friend in need, is a pest". >I'm trying to get more info out of >him, but he has not responded to email yet. > >Thaks! > >--- >Alex Togstad >Web Developer >alextogstad@3dretreat.com > > > >-----Original Message----- >From: Boyle Owen [mailto:Owen.Boyle@swx.com] >Sent: Monday, February 03, 2003 8:36 AM >To: users@httpd.apache.org; sniper@3dretreat.com >Subject: RE: [users@httpd] Upload Site Simultaneously?? > > >>-----Original Message----- >>From: Alex "Sniper" Togstad [mailto:sniper@3dretreat.com] >> >>So once again, I will ask my question again. . . >> >>Does anybody know of an Apache module/script that will upload a site >>simultaneously from two servers? > >I know you know what you mean, but I have to say your question doesn't=20 >make any sense to me. I simply don't understand what you're asking :-) > >Could you explain *exactly* what you are trying to achieve? Use=20 >diagrams, if necessary... > >Rgds, > >Owen Boyle > >> >>Thank you for your patience. >> >>---- >>Alex Togstad >>Web Developer >>alextogstad@3dretreat.com >> >> >> >>--------------------------------------------------------------------- >>The official User-To-User support forum of the Apache HTTP Server=20 >>Project. See for more=20 >>info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> " from the digest: users-digest-unsubscribe@httpd.apache.org >>For additional commands, e-mail: users-help@httpd.apache.org >> >> > >This message is for the named person's use only. It may contain=20 >confidential, proprietary or legally privileged information. No=20 >confidentiality or privilege is waived or lost by any mistransmission.=20 >If you receive this message in error, please notify the sender urgently = >and then immediately delete the message and any copies of it from your=20 >system. Please also immediately destroy any hardcopies of the message.=20 >You must not, directly or indirectly, use, disclose, distribute, print, = >or copy any part of this message if you are not the intended recipient. = >The sender's company reserves the right to monitor all e-mail=20 >communications through their networks. Any views expressed in this=20 >message are those of the individual sender, except where the message=20 >states otherwise and the sender is authorised to state them to be the=20 >views of the sender's company. > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org