http post xml string and binary file in multipart message

This is a discussion on "http post xml string and binary file in multipart message" within the Classic ASP section. This forum, and the thread "http post xml string and binary file in multipart message are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 10th, 2007, 08:12
New Member
Join Date: Jun 2007
Location: Netherlands
Age: 36
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
http post xml string and binary file in multipart message

Hi,
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 up so I would appreciate any pointers. I have used:

http://www.motobit.com/tips/detpg_uploadvbsie/

and end up with the problem that I have a byte array for the binary file and a string for the xml. Somehow I don't know how to concatenate these 2 to create the send parameter.

You can find the code snippet at:
http://groups.google.nl/group/micros...4209f46e?hl=nl


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.

I have taken a look at:
http://www.webforumz.com/lo-fi/t-497.html
but I don't quite know how to implement the xml there.

Any help would be greatly appreciated.

Regards,
Pezkel
Reply With Quote

Reply

Tags
binary, httppost, upload

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change a string of characters with aonether in a HTML file r3ticul JavaScript Forum 4 Jan 21st, 2008 09:28
http://localhost/file.php azilaka PHP Forum 16 Jul 13th, 2007 21:56
how to send xml file through http post or get camarun20 Other Programming Languages 5 Aug 10th, 2006 15:22
Handling http post with php lmwaldal PHP Forum 2 Aug 23rd, 2005 12:19
Send Binary Data vor Classic ASP 1 Aug 21st, 2003 14:38


All times are GMT. The time now is 20:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43