This is a discussion on "posting binary data to thirdparty site" within the Classic ASP section. This forum, and the thread "posting binary data to thirdparty site are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
posting binary data to thirdparty site
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
( ) isn't the correct delimiter for a string, you need to using single quotes, so this:
<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">newSQL = "Update Business SET Background=("&Image&") Where ID=" & tkey <hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote"> should be: newSQL = "Update Business SET Background='"&Image&"' Where ID=" & tkey - Cat |
|
|
|
#2
|
|||
|
|||
|
posting binary data to thirdparty site
Hi, we are developing a site. One part of it requires us to send image files to a thirdparty's URL.
This isn't image upload problem... we can do that, the question concerns sending this binary data to another url which we don't control. We normally use the ASP xml components to GET data from another site, however in this instance we have to post BINARY data to another site, which it appears the xml components don't support. Any ideas how to do this. Yes I know its easier to ftp or mail the images... but this is a thirdparty site, we can't rewrite their ****ty API for them! |
|
#3
|
|||
|
|||
|
You might check out SOAP, it can send binary data using ASP.
http://www.google.com/search?hl=en&l...end+binary+asp I guess it depends on what they've got setup for receiving the data on the other end though. |
|
#4
|
||||
|
||||
|
it's a standard html form Cat....
I think I've cracked this... will keep posted.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#5
|
||||
|
||||
|
Ok.... Me and nick cracked this.
I'll put an article together at a later date to show uses for this script. Essentially, it allows posting form fields, and files to multi-part/form-data form handlers without user interaction. Here's the code:-
Hope this helps!
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| posting, binary, data, thirdparty, site |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| trouble posting videos to my site | barkpark | Flash & Multimedia Forum | 3 | Jan 23rd, 2008 19:36 |
| binary data(image) loading and display in asp | aparna2402 | Classic ASP | 1 | May 17th, 2006 12:26 |
| [SOLVED] Presenting binary values | Anonymous User | Classic ASP | 3 | Dec 7th, 2004 17:50 |
| Send Binary Data | vor | Classic ASP | 1 | Aug 21st, 2003 14:38 |