Re: MultiPartFormDataStream

Giganews Newsgroups
Subject: Re: MultiPartFormDataStream
Posted by:  Alexandre (alexandrepires20…@yahoo.com.br)
Date: Sun, 7 Aug 2011

The correct is:

When I upload through the browser output stream is something like this:

-------
Content-Disposition: form-data; name="my_parameter1"

1265453453
-------
Content-Disposition: form-data; filename="image.jpg"
Content-Type: image/jpeg

ÿØÿà

But when I upload through my proogram with Indy output stream is something
like this:

----------080711121631682
Content-Disposition: form-data; name="my_parameter1"
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

1265453453
----------080711121631682
Content-Disposition: form-data; name=""; filename="image.jpg"
Content-Type: image/pjpeg
Content-Transfer-Encoding: binary

ÿØÿà

What can I do to indy strem to stay the same of browser stream ?

Thanks for some help

Replies

In response to

MultiPartFormDataStream posted by Alexandre on Sun, 7 Aug 2011