I'm trying to set X-Delete-After
and X-Delete-At
to a file i'm uploading.
So i tired :
FileMetaData.Add("X-Delete-After", "30");
cloudFilesProvider.UpdateObjectMetadata(inStrContainerID, strDesFileName, FileMetaData);
but the header did not get recognized.
is that the right approach?
Edit: I'm trying to use ICloudFilesMetadataProcessor.ProcessMetadata
, but really have no clue how to and am not able to find any documentation.
In the current release of the SDK, you can include the X-Delete-After
or X-Delete-At
value in the headers
argument to the following calls:
Currently there is no way in the SDK to change the value of this header after the file has already been uploaded (e.g. using UpdateObjectMetadata
as you suggest in the question would set the values X-Object-Meta-X-Delete-After
or X-Object-Meta-X-Delete-After
, which is not correct).
Here is a related issue on GitHub:
#167: How to assign version folder