in reply to CGI uploads sometimes fail

If the problem is in the cgi code, you'll need to show it to us.

Can you detect any browser dependence in the problem? It might be a lame client issue.

One reason to do the tmpfile dance is to avoid clobbering a current version of the file with an upload which might fail. Server load is unlikely to be a problem. Disk I/O is not fast, but it's much faster than most network connections.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: CGI uploads sometimes fail
by Stephen Toney (Sexton) on Oct 09, 2005 at 01:22 UTC
    Zaxo,

    Thanks for the input; sorry I'm late replying but I've been ill. After much research I've found very few apps that upload more than one image at a time, so we are limiting ours to that also. I really think the conversation between the server and client gets confused; sometimes it works, a few minutes later it doesn't -- with the same files.

    Thanks again, Stephen