I would be grateful if anybody could help me with the following problem.

My file upload Perl script times out when uploading a large file using a slow dial-up connection.

I'm not 100% sure what exactly is timing out but I suspect it is the server. I'm in a Win32 environment using IIS.

When I submit the form, two cgi programs are launched - one does the file upload and the other one runs in another window informing the user that the upload is in progress. The window containing the file upload times out unless the upload is completed within about 2-3 minutes. This is on a 19.2Kbps dialup connection.

I would be grateful if anybody could offer some ideas on how to keep the file upload script alive until the upload has been completed.

Thanks

Eoin


In reply to Timeouts on long-running CGI/Perl Scripts by Eoin Redmond

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.