Joshua
Joshua

Reputation: 6853

Modifying File's CreationDate and ModificationDate Properties in Adobe Air

I have written an Air program that mirrors a directory tree. The problem is that the destination folder structure and content need to be identical - right down to the creationDate and modificaitonDate file attributes. How can I change these file attributes using Adobe Air?

I'm able to READ them both just fine, but the properties are read-only. How do I change them?

Upvotes: 1

Views: 790

Answers (1)

Cornel Creanga
Cornel Creanga

Reputation: 5308

Currently there is no API in Adobe Air for dealing with file attributes. You cannot set a file as read only or hidden, you cannot modify the creation and modification date. If you wish you can request a feature enhancement here.

Upvotes: 2

Related Questions