By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 849 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

binary and xml multipart post to third party website

P: 2
For the last two weeks I have been looking for a solid way to create an asp page that can upload a binary file and an xml file in a multipart message to a third party website.

I am on the verge of giving (and cracking) up so I would appreciate any pointers. I have used:

and end up with the problem that I have a byte array for the binary file and a string for the xml. I have tried converting the byte() to string and then concatenate and send the complete string but then the Word file isn't transferred
completely. Somehow I don't know how to concatenate these 2 to create the send variant.

You can find the code snippet at:

My starting situation is a html form with an asp page set as the action that can process the form fields to an xml file (string) and the uploaded file to a binary string.

Any help would be greatly appreciated.

Jun 10 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.