cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

How to post file data?

From: Broekhuis,Robert R. <BROEKHRR_at_airproducts.com>
Date: Tue, 18 Jul 2006 16:17:07 -0400

I'm trying to write a script for automatic uploading of file data to a
remote server (form using enctype=multipart/formdata). For ordinary POST
forms, I just format the header data as if it were a querystring, and
provide it as the POSTDATA parameter. Where can I read about how to
format this parameter for file upload data?
Thanks for your help!
Rob

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-07-18