15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Automatic Upload Object<br />

Media File Object Properties<br />

You can programmatically control the Automatic Upload feature through a<br />

Object Interface, available through the Automatic Upload Object Interface.<br />

For example:<br />

objMedia = objEditor.MediaFile();<br />

objAutoUpload = objMedia.AutomaticUpload();<br />

objAutoUpload.AddFileForUpload(strFileName, strDescription);<br />

See Also: ”Media File Object” on page 19<br />

The Automatic Upload Object Interface supports the standard way of setting<br />

and retrieving property values, such as setProperty, getProperty, and<br />

getPropertyString.<br />

See Also: ”Method: getProperty” on page 71, ”Method: getPropertyString” on<br />

page 72, ”Method: setProperty” on page 99<br />

The Media File Object has a few unique properties and several other<br />

properties that are a subset of the media object properties.<br />

See Also: “Property: TransferMethod” on page 119; “Property: ServerName”<br />

on page 108<br />

Automatic Upload Object Properties as a Subset of the Media Object<br />

Settings<br />

The definitions for the following automatic upload properties are almost<br />

identical to the larger media object properties. They differ because they affect<br />

only the automatic upload mechanism, having no effect on the larger media<br />

object settings.<br />

• “Property: LoginName” on page 108<br />

• “Property: LoginRequired” on page 109<br />

• “Property: Password” on page 109<br />

• “Property: TransferRoot” on page 109<br />

• “Property: ValidExtensions” on page 109<br />

• “Property: WebRoot” on page 109<br />

NOTE To set the server-side receiving script, use the TransferMethod property. See<br />

Also: ”Property: TransferMethod” on page 119<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 499

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!