Posting binary data
m.schonewille at economy-x-talk.com
Wed Nov 17 13:15:58 CST 2010
Before using the post command, execute the following line:
set the httpHeaders to "Content-type: application/binary" & cr & \
"Content-Transfer-Encoding: binary" & cr & \
"Content-Length: <length of your data in bytes>"
Let us know if this works for you.
Economy-x-Talk Consulting and Software Engineering
Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions)
On 17 nov 2010, at 20:04, Devin Asay wrote:
> Hi all,
> One of my students is doing a Rev project in which he needs to post binary data (a .mov file, in this case) to a web server. I've never done this, but I'm told that in a standard web form one sets the enctype attribute of a form input to indicate that the data being posted is binary.
> How would you do this using a Rev--errr--LiveCode post statement?
More information about the use-livecode