[Xitami] PHP and HTTP-PUT filesize problem?

Fabian Bess xitami@lists.xitami.org
Sun, 21 Oct 2001 14:25:12 +0200


--------------090602010106020808060007
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Paul Reid wrote:

>>upload a file via HTTP-PUT. .. Xitami won't let me upload files larger than a couple of KBytes (around 10KB).  my host's Apache-server works 
>>
>fine....
>
>Guessing in the dark: Is your machine Windows? (What version?) Is the
>host on unix? NT?
>
>A limit like 10K sounds like your script is passing the body of the file
>through the command line and "environment". That could be less than 1K
>in DOS, somewhat bigger in Win9x, very large in WinNT, and large and
>often essentially unlimited in unix. 
>
>I'm not familiar enough with HTTP-PUT or PHP to know how to check or
>modify that... I'm just hoping this jogs the memory of someone who is
>more expert in such things. 
>
> -PRR
>
Sorry, my fault not to mention the OS.
I'm running WinME (de) and Xitami 2.4d6
The host on the other side is propably a Linux-system running Apache.
The PHP version is 4.0.6 on both sides.

As far as I can see the file is not passed through the environment, as a temporary file is created. For debuggin purposes I output the name and path of the temp file and it seems to be complete.

Any more ideas?

Thx
-- 
Fabian Bess (webmaster@tannenhof.de)
Webmaster Drogenhilfe Tannenhof Berlin e.V. 'http://www.tannenhof.de'



--------------090602010106020808060007
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
Paul Reid wrote:<br>
<blockquote type="cite" cite="mid:3BD04A1B.9DBD822A@rci.rutgers.edu">
  <blockquote type="cite">
    <pre wrap="">upload a file via HTTP-PUT. .. Xitami won't let me upload files larger than a couple of KBytes (around 10KB).  my host's Apache-server works <br></pre>
    </blockquote>
    <pre wrap=""><!---->fine....<br><br>Guessing in the dark: Is your machine Windows? (What version?) Is the<br>host on unix? NT?<br><br>A limit like 10K sounds like your script is passing the body of the file<br>through the command line and "environment". That could be less than 1K<br>in DOS, somewhat bigger in Win9x, very large in WinNT, and large and<br>often essentially unlimited in unix. <br><br>I'm not familiar enough with HTTP-PUT or PHP to know how to check or<br>modify that... I'm just hoping this jogs the memory of someone who is<br>more expert in such things. <br><br> -PRR</pre>
    </blockquote>
    <pre class="moz-signature" cols="$mailwrapcol">Sorry, my fault not to mention the OS.<br>I'm running WinME (de) and Xitami 2.4d6<br>The host on the other side is propably a Linux-system running Apache.<br>The PHP version is 4.0.6 on both sides.<br><br>As far as I can see the file is not passed through the environment, as a temporary file is created. For debuggin purposes I output the name and path of the temp file and it seems to be complete.<br><br>Any more ideas?<br><br>Thx<br>-- 
Fabian Bess (<a class="moz-txt-link-abbreviated" href="mailto:webmaster@tannenhof.de">webmaster@tannenhof.de</a>)
Webmaster Drogenhilfe Tannenhof Berlin e.V. '<a class="moz-txt-link-freetext" href="http://www.tannenhof.de">http://www.tannenhof.de</a>'
</pre>
    <br>
    </body>
    </html>

--------------090602010106020808060007--