hi again,

I've just recogniced my procedure works only with textfiles, so I added that one:

if ansicontainstext(PChar(clientcnx.FPostedDataBuffer),'Content-Typ: text/') then
                   MyStream.Write(clientcnx.Fposteddatabuffer[len],blen)
                   else
                   begin
//in this case blen is the number of chars after our file, by trying out I determined that to 147 (for IE)
                   blen:= 147;
MyStream.Write(clientcnx.Fposteddatabuffer[len],clientcnx.FRequestContentLength-blen-len);
                   end;

but this is not working as accurately as I've wished. Can anybody tell me, what the number behind the '------------------------' in the MIME - encoded form means? Is it any kind of identification of the users browser ?

Greetings again,
stefan


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to