<httpUploadData> Element

This element provides extra information which will be used in the HTTP image upload operation.  The extra information provided may be utilized within the upload script.

Element Tree Structure

<editLiveForJava>
    <mediaSettings>
        <images>
            <httpImageUpload>
                <httpUploadData>

<editLiveForJava>
     ...
     <mediaSettings>
          <images>
               <httpImageUpload ... >
                    <httpUploadData ... />
               </httpImageUpload>
               ...
          </images>
     </mediaSettings>
     ...
</editLiveForJava>

Required Attributes

Attribute Description
name This attribute should contain the name for the extra data property being transmitted with the HTTP upload.
data This attribute should contain the extra data that you wish to transmit with the HTTP upload.

Example

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

<editLiveForJava>
    ...
    <mediaSettings>
        <images>
            <httpImageUpload base="http://yourserver.com/imagedir/" href="http://yourserver.com/scripts/uploadhandler.asp">
                <httpUploadData name="user" data="default"/>
                <httpUploadData name="priority" data="1"/>
            ...
            </httpImageUpload>
            ...
        <images>
    <mediaSettings>
    ...
</editLiveForJava>

Remarks

The <httpUploadData> element can appear multiple times within the <httpImageUpload> element.

The <httpUploadData> 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:

    <httpUploadData name=... />

See Also