Class UpdateFile
Represents a file for content updating.
Members
| Name | Description |
| Id |
string File id from the database. |
| FileName |
string The file name with extension. |
| Directory |
string The relative destination directory path. |
| Command |
UpdateCommands The operation to be performed. |
| Url |
string If applicable, the full download URL. |
| RevisionId |
string A KWS revision id for the update. |
| Size |
int64 Total size of the file. |
| SizeDownloaded |
int64 When downloaded, indicates how many bytes were downloaded. |
| ExistingSize |
int64 When downloaded, indicates how many bytes were already on the target. |
| SizeWasted |
int64 When downloaded, indicates how many bytes were wasted due to size and/or checksum mismatches. |
| Tries |
int When downloaded, indicates how tries before the download was successful. |
| Hash |
string The file checksum. |
| TempFilePath |
string The temporary storage path. |
| DestinationPath |
string The full destination path. |
| DownloadSucceeded |
bool When applicable, indicates whether or not the download succeeded. |
| DeleteSucceeded |
bool When applicable, indicates whether or not the delete succeeded. |
| CopySucceeded |
bool When applicable, indicates whether or not the copy succeeded. |
| LastError |
string Error message on failure. |
| Status |
UpdateFileStatus The current status of the file. |
| ServerHistoryId |
int64 The file update history id from the server. |
Requirements
KioWare for Windows version 8.18 or greater.