Is there any way we can know the age of a file in a storage bucket.
I want to be able to remove those files after a certain time.
Is there any way we can know the age of a file in a storage bucket.
I want to be able to remove those files after a certain time.
Check on this
Hi Sarathi,
Thank you for your response.
They are small files which we may need to access any time for a week from the time it was uploaded.
How do you propose doing it with data service?
Thanks in advance
Based on the BlobFileDto
Model, the Creation/Upload Timestamp is not provided. You could append a date/time stamp to the file name when you upload it.
/odata/Buckets({key})/UiPath.Server.Configuration.OData.GetFile
BlobFileDto{
FullPath string
ContentType string
Size integer($int64)
IsDirectory boolean
Id string
}
Hi Tim,
Thanks for you response.
I found Orchestrator audit logs and I think this will help me achieve what I am trying to achieve.
That could work, but keep in mind for long lived files the related logs might be trimmed automatically in Cloud or if you have a private installation, if there is general database maintenance being performed to keep the DB size in check.
Oooh, right. I could see only 30 days logs from Orchestrator. Thanks! Will keep this in mind
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.