EditLive! 9 Documentation : httpPostData

This element allows for the configuration of information used when using HTTP media upload within EditLive!.

Configuration Element Tree Structure

<editLive>
<mediaSettings>
<httpUpload>
<httpPostData>

<editLive>
  ...
    <mediaSettings>
      <httpUpload ... >
        <httpPostData ... />
      </httpUpload>
  </mediaSettings>
  ...
</editLive>

Required Attributes

name

This attribute should contain the name for extra HTTP POST form data to transmitted with the HTTP upload.

data

This attribute should contain the form data that you wish to transmit with the HTTP upload.

Example

The following example demonstrates how to set various <httpPostData> attributes.

<editLive>
  ...
  <mediaSettings>
    <httpUpload 
      base="http://yourserver.com/mediaDir/"
      href="http://yourserver.com/scripts/uploadhandler.asp"
    >
      <httpPostData name="user" data="default"/>
      <httpPostData name="priority" data="1"/>
      ...
    </httpUpload>
  <mediaSettings>
  ...
</editLive> 

Remarks

The <httpPostData> element can appear multiple times within the <httpUpload> element.

The <httpPostData> element must be a complete tag; it cannot contain a tag body. Therefore, the tag must be closed in the same line. See the example below:

<httpPostData name=... />