Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 31278 invoked from network); 14 Jun 2005 02:01:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2005 02:01:02 -0000 Received: (qmail 34873 invoked by uid 500); 14 Jun 2005 02:00:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 34864 invoked by uid 500); 14 Jun 2005 02:00:50 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 34850 invoked by uid 99); 14 Jun 2005 02:00:50 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=SPF_HELO_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: 209.189.103.195 is neither permitted nor denied by domain of stephen@nationwide-totalflood.com) Received: from v195.totalflood.com (HELO mail.totalflood.com) (209.189.103.195) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Jun 2005 19:00:49 -0700 Received: from [192.168.124.232] (pellucidar.totalflood.com [192.168.124.232]) by mail.totalflood.com (Postfix) with ESMTP id 27B0B148E0D for ; Mon, 13 Jun 2005 19:00:34 -0700 (PDT) Message-ID: <42AE3A41.4000600@nationwide-totalflood.com> Date: Mon, 13 Jun 2005 19:00:33 -0700 From: Stephen Carville User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Users Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: [users@httpd] POSTing to non-executable file X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Is there a good way for a client program to check for the existance of a file on a remote server before attempting a download? Kind of an http version of the ls command. We have a software program that checks for the existance of a file by doing an empty POST to the URL. This works with apache 2.0.52 but fails on 1.3.20 with an error 405: The requested method POST is not allowed for the URL /pdf/temp/16557996.pdf. Whatever technique I use has to work on both 1.3 and 2.0 so I'd like to know if there is a better way. -- Stephen Carville --------------------------------------------------------------------- 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