| Cristian Ciccioli 2005-05-27, 7:56 am |
| Hi all, I'm trying to make a file post (upload) to a web site, and I get
stuck constructing the message.
I'm using a multipart message, with one XmlDocument-type part, loading the
binary file (as a stream) in that part. Then I set the content type to
"multipart/form-data". I tried also "multipart/form-data;boundary=boundary"
and other combinations. Then I send it through a MIME pipeline, with binary
encoding.
The web site receives the request, but it's unable to get the file. If you
see the request data, you can see the file contents, but the destination app
still cannot "dettach" the files.
Has anyone done something like this?
Thanks in advance.
|