help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: : Uploading binary executables


From: John Raymond
Subject: Re: : Uploading binary executables
Date: Thu, 25 Oct 2001 05:26:24 -0700 (PDT)

Hi Maan,

Yep, I set enctype="multipart/form-data" in my html
form.  It works like a charm for text files.  It just
chokes on binaries.

Cheers,

- john


--- "Maan M. Hamze" <address@hidden> wrote:
> John
> Have you been setting the
> enctype="multipart/form-data" in the form tag as
> in:
> <form action=SomeAction method="POST"
> enctype="multipart/form-data">
> Maan
> 
> 
> Hi Volker,
> 
> I'm using a Windows operating system.  It doesn't
> seem
> to upload any binary files correctly on my machine. 
> I
> can't get it to work with jpeg, gif, or pdf files
> either.  I've tried changing the ACCEPT parameter in
> the HTML document to the appropriate MIME type, but
> that doesn't work either.  It seems like the cgicc
> code isn't writing binary correctly on my system.  I
> was wondering if this was a windows thing or a cgicc
> thing.  On the download output page sent back by the
> upload cgi application, it states that the file type
> is text/plain no matter what I enter as the ACCEPT
> parameter in the html document.
> 
> - john
> 
> 
> --- Volker Wysk <address@hidden> wrote:
> > On 2001.10.23 20:55 John Raymond wrote:
> > > Does anyone know how to use cgicc to upload
> binary
> > > executable files?
> > >
> > > I've been trying to use the upload demo that
> comes
> > > with cgicc, but when it uploads and writes the
> > file to
> > > disk, it know longer works as an executable.
> >
> > Er, do you set the "executable" bit of the newly
> > saved file?
> >
> > _______________________________________________
> > help-cgicc mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/help-cgicc
> 
> 
> 
> 
> _______________________________________________
> help-cgicc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cgicc


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]