[twsocket] Upload file using http protocol

2005-06-03 Thread Stefan Fruhner
hi, there is one procsedure I've found in the message archive to extract a MIME-encoded file on the server's side, but it is less general to use as one may wish, because it can only handle forms with only one element on it. I 'ver changed something so that the sending form may contain more v

[twsocket] Upload file using http protocol

2005-06-03 Thread Stefan Fruhner
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 be