Solution
When using the SystemLink File Service to delete a file, the
force flag/query can be used in case of file corruption.
When a file is uploaded to the SystemLink Web UI, it is stored in the File Service of the SystemLink Server at
C:\ProgramData\National Instruments\Skyline\Data\FileIngestion\<file id>. If the data in this path is modified or deleted, the file will still appear in the UI, but it no longer exists as expected in the File Service.
If you attempt to delete a file with the
force flag set to false, error code
-251613 (or response code
401 for HTTP) will appear as shown below.


When the
force flag is set to true, the deletion can execute successfully and any remaining file data will be cleaned up.