Hi,
I using additional submission field with drupal_http_request, but, multipart/form-data header don't working. I can't post attached file field content to external server.

Don't this with Webform_php?

Comments

quicksketch’s picture

As far as I know, drupal_http_request() is not capable of transferring files (but I've never tried so I'm not entirely sure). You have to realize that files aren't included in the $_POST values or in the $submission object, you'd have to somehow encode the saved file and forward it.

quicksketch’s picture

Status: Active » Closed (fixed)
sunil.h@edreamz.in’s picture

Assigned: Unassigned » sunil.h@edreamz.in
Priority: Normal » Critical
Issue tags: +multipar/form-data is not working

My need is to insert file into the database and display the file. I am not able to post the file value.