in reply to Re: CGI - Creating Multipart Form with a File Download
in thread CGI - Creating Multipart Form with a File Download

Thanks very much for your reply! This might be a stupid question but is there any way to use more than one CGI script for a form? I've tried using a redirect (instead of calling the download subroutine) but that hasn't worked, but I'm wondering if there is some way of doing it.
Otherwise I'll start learning about AJAX as you suggested.

  • Comment on Re^2: CGI - Creating Multipart Form with a File Download

Replies are listed 'Best First'.
Re^3: CGI - Creating Multipart Form with a File Download
by Your Mother (Archbishop) on Mar 14, 2015 at 19:55 UTC

    Those answers from off-brand monk are bonkers. Meta refresh has nothing to do with what you want. You’re trying to do a simple download with some prep work, not watch a long running process. If I have time I’ll try to fix up something for you but I’m swamped this weekend. Ajax could make it nicer and cleaner but isn’t necessary. Two CGIs might be a good way to go as well… Your original code looks like it is pretty close to workable/working but I haven’t tested it.

      Those answers from off-brand monk are bonkers. Meta refresh has nothing to do with what you want.

      Not any more than various suggestions of AJAX ... any download initiated via AJAX can be initiated via meta-rafresh

Re^3: CGI - Creating Multipart Form with a File Download
by Anonymous Monk on Mar 14, 2015 at 16:59 UTC