Still fighting: "Please help me upload a binary file through a CG I script"

Mark Steele msteele at
Mon Dec 2 12:10:20 CST 2002

Hi all,

Over the weekend I tried the script on my home Linux system, worked.
I tried it on my hosted Linux site, worked fine too.

However, this is what I get at work:

[Mon Dec 02 09:53:55 2002] [error] [client] Premature end of
script headers: /opt/apache2/lib/cgi-bin/upload.cgi, referer:
[Mon Dec 02 09:53:55 2002] [error] [client] Server
closed socket during multipart read (client aborted?)., referer:

The script will upload text files fine, it only barfs when I try an Excel
(or any
other binary) file.

I'm using:
Apache 2.0.35, 
Perl 5.6.1, 2.88
HP-UX 10.2

The browser is IE on WIN 95...

Any ideas?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: upload.cgi
Type: application/octet-stream
Size: 1313 bytes
Desc: not available
Url :

More information about the San-Diego-pm mailing list