473,387 Members | 1,903 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

binary and xml multipart post to third party website

2
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 (and cracking) 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. 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:
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.

Any help would be greatly appreciated.

Regards,
Pezkel
Jun 10 '07 #1
0 1489

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

Similar topics

2
by: MarkH | last post by:
After extensive googling I'm still stuck :( I have a clientprogram that needs to call a php script (via an Apache2 webserver) and pass binary parameters as POST data - typically around 30K in...
3
by: Ot?vio | last post by:
Hi! I'm havin a problem about sending a binary file with fsockopen. My problem is solved when i do: -------------------->8------CODE----------------------------- <form...
3
by: Jason | last post by:
Hi folks, I'm trying to create a section of a website with a unique file upload utility. The problem is that in most code and components I find to pass multipart/form data, you need to know the...
2
by: Abe Simpson | last post by:
Hi all. I am using a 3rd party ActiveX control to upload files to the web server using the multipart/form-data format (described in RFC 1867). In regular ASP, I have to use another 3rd party...
4
by: Schwarty | last post by:
I hope I posted this to the correct group. If not, please let me know and I will get it posted in the correct section. I have a web application developed in ASP.NET using C# for the code behind....
5
by: James Coleman | last post by:
I have to send a user to a 3rd party site. Basically I am thinking I need a linkbutton with an onclick event. The even handler would populate the necessary values (userid, encryptedid, usergroup)...
5
by: Tyler | last post by:
I am developing an application which will allow me to automatically sign into an external website. I can currently do a screen scrape using HTTPWEBREQUEST. However I want to just redirect to the...
2
by: roN | last post by:
Hi, how can I send post variables from out of a php script to another script? I need to send some post var to a third party script, but would like to insert our own php script between the...
2
by: MDANH2002 | last post by:
Hi From VB.NET I want to simulate the POST request of the following HTML form <html> <title>HTTP Post Testing</title> <body> <form action=http://www.example.com/postdata ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.