Well, no messages in the log that helped ... I had already tried to write to a filehandle in the directory in question, without trouble, so the directory permissions were correct.

In the end I rewrote the script that handled the uploading. The original, which worked fine on XP and IIS 6 used CGI::FormBuilder for validation and field generation. This somehow malfunctioned on the target setup, while a good ole-fashioned backend using only CGI worked. The CGI::FormBuilder version only handled file uploads up to (what seems to me to be) an arbitrary header length. In my case this meant that files under 500 bytes were uploaded, while bigger files were blocked and the script timed out. The CGI version happily handled a 40 MB upload with the same header setup. Strange.

This may be an issue with CGI::FormBuilder 2.14. I haven't tried updating to the latest version, but maybe this will help. As it is today though, I use CGI::FormBuilder for constructing the front-end with javascript validation, while a basic CGI backend handles the file upload.

Thanks for your suggestions, though :)

pernod
--
Mischief. Mayhem. Soap.


In reply to Re^2: Problem with CGI upload on Windows Server 2003 by pernod
in thread Problem with CGI upload on Windows Server 2003 by pernod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.