Hi,
thank you for your answer.
Sorry for answering so late...
My HTML form is:
==============================================================
<HTML>
<HEAD>
<TITLE>UPLOADING</TITLE>
</HEAD>
<BODY BGCOLOR="yellow" TEXT="black" FACE="times new roman">
<FORM ENCTYPE="multipart/form-data" METHOD="post"
ACTION="/cgi-bin/upload_file/prog_c.cgi">
<INPUT NAME="logo" ID="logo" TYPE="file" />
<BR>
<INPUT VALUE="Upload File Now" TYPE="submit" />
</FORM>
</BODY>
</HTML>
==============================================================
> Sooner or later the data will contain a sequence of bytes
> that will be indistinguishable from EOF.
Actually, I have the impression that this is what happens...
> The encoded data will be up to three times bigger than the
> original data, because a single byte of value 0xFF will be
> encoded by the browser as "%FF" (3 chars) and so on.
Are you saying that this is what happens when "ENCTYPE" is
not set to "multipart/form-data"?
I am not sure I understand what you say...
0xFF is the ÿ character in the ASCII extended table...
In which case is it encoded as "%FF"?
> Once you have the encoded data, you'll need to decode it.
> Fortunately that's not too difficult.
Maybe I have some problems because I do not decode the
encoded data...
Is the data encoded in my case?
If it is, how do I have to do to decode it?
Thank you for your help.
--
Léa
--
View this message in context:
http://www.nabble.com/c-cgi-script---html-file-uploading-tp19780000p19794422.html
Sent from the C-prog mailing list archive at Nabble.com.