How to get date modified of a file in cloud files?
I am using the .net SDK from cloud files (not the rack space nu get package).
I can get a list of my files and call GetStorageItemInformation size but I want to know when the file was put onto cloud files. If I use the Cloudberry explorer app I see it has the information.
Is it in the .net SDK and where?
When iterating over the files in your container, you can use OpenStack.NET's ContainerObject.LastModified. Here is a console application which lists all containers in a region and their files with the last modified timestamp.
Below is some sample output
If your container has more than 10,000 files, you will need to use the paging parameters to loop through all the files. In the example below, I am paging through the results 100 at a time.