First, thanks for your response sedhed. I tried your script and using the form I posted earlier on this thread, came up with some confusing results. Note that I added a text field on the form to make sure that it was sending something in the post. When I uploaded a small text file, the CGI responded with "Got squat" (even though the text field had text in it). When I uploaded a larger (90kb) image file, Netscape responded (client side)"A network error occurred while Netscape was sending data. (Network error: Connection Aborted). Try Connecting again." IE responded with "Cannot find server or DNS error". I added the line $cgi_lib::maxdata = 2000000; to make sure that size limitations wern't the problem. This code did not fix the problem. I can upload a 70kb file (getting "got squat" as the answer), but not a 90kb (or larger) file. The script is running on a PII 400Mhz server, which is on the same LAN as my machine, so bandwidth is not an issue (100BaseT ethernet). Any ideas? Thanks for your help.

In reply to Re: Re: CGI file upload - endless loop?? by lpoht
in thread CGI file upload - endless loop?? by lpoht

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.