grass valley developers

Home > APIs > AppServer API > Examples > File Transfers > Uniform Media Locators (UML)

Uniform Media Locators (UML)

Uniform Media Locators are used for specifiying transfer source and destination locations.

The format for a UML is:

<host>/<type>/<filename>

Where:

<host> is the K2's host name or IP address (e.g. “K2-123”)

<type> is a file type (e.g. “explodedFile”, “gxfFile”, “mxfFile”, “movFile”, “aviFile”, “mpgFile”)

<filename> is the asset's fully pathed name including volume, bin, and asset(e.g. “V:/default/Clip” or “C:/temp/foo”). The filename may also be specified using a Universal Naming Convention (UNC) path (e.g. "\\path-to-machine\folder\Clip")

Examples:

"K2-1/explodedFile/V:/default/Clip"
"K2-2/gxfFile/\\machine-foo\folder\Clip.gxf"

note the forward slash after the "gxfFile" string before the double-backslash of the UNC path!