Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 64445 invoked by uid 500); 29 Dec 2000 03:18:01 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 64435 invoked from network); 29 Dec 2000 03:18:01 -0000 Received: from sheffield.concentric.net (HELO sheffield.cnchost.com) (207.155.252.12) by h29.sny.collab.net with SMTP; 29 Dec 2000 03:18:01 -0000 Received: from www1 (www1.rowe-clan.net [208.176.192.146] (may be forged)) by sheffield.cnchost.com id WAA23237; Thu, 28 Dec 2000 22:18:00 -0500 (EST) [ConcentricHost SMTP Relay 1.10] Errors-To: From: "William A. Rowe, Jr." To: , Subject: RE: apache-api/6972: Module fault Date: Thu, 28 Dec 2000 21:18:31 -0600 Message-ID: <001801c07146$05d86110$92c0b0d0@roweclan.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20001213055855.13567.qmail@locus.apache.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: h29.sny.collab.net 1.6.2 0/1000/N > I am writing additional module for Apache server, which > receive a data from client via POST request and write them to > a file. The data received correctly, but when I trying to > write them to file on the server I received a NULL file > descriptor (in Linux, in Win32 desriptor is correct, but > fprintf of fwrite causes the system message "Application > error") from ap_pfopen (or fopen) function. If I trying to > read any file via these functions - all ok. How did you try opening the file? Are you assured you have the correct permissions? Please don't confuse the apache io functions with standard clib functions!