Properties
| Name | Access | Type | Description |
|---|---|---|---|
| ContentLength | Read | Number | Content Length |
| FileName | Read | String | File Name |
| FileStoreKey | Read | String | File Store Key |
| Path | Read | String | Path |
Methods
GetDeliveryUrl
Velocity
#set($stringResponse = $centralizedFile.GetDeliveryUrl())
JavaScript
var stringResponse = centralizedFile.GetDeliveryUrl();
Returns
GetDeliveryUrlAsync
Velocity
#set($taskResponse = $centralizedFile.GetDeliveryUrlAsync())
JavaScript
var taskResponse = centralizedFile.GetDeliveryUrlAsync();
Returns
GetGenericUrl
Velocity
#set($stringResponse = $centralizedFile.GetGenericUrl())
JavaScript
var stringResponse = centralizedFile.GetGenericUrl();
Returns
GetVersionKey
Velocity
#set($stringResponse = $centralizedFile.GetVersionKey())
JavaScript
var stringResponse = centralizedFile.GetVersionKey();
Returns
GetVersionKeyAsync
Velocity
#set($taskResponse = $centralizedFile.GetVersionKeyAsync())
JavaScript
var taskResponse = centralizedFile.GetVersionKeyAsync();
Returns
OpenReadStream
Velocity
#set($streamResponse = $centralizedFile.OpenReadStream())
JavaScript
var streamResponse = centralizedFile.OpenReadStream();
Returns
OpenReadStreamAsync
Velocity
#set($taskResponse = $centralizedFile.OpenReadStreamAsync())
JavaScript
var taskResponse = centralizedFile.OpenReadStreamAsync();
Returns
ToString
Velocity
#set($stringResponse = $centralizedFile.ToString())
JavaScript
var stringResponse = centralizedFile.ToString();