views:

50

answers:

1

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?

+1  A: 

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.

Cornel Creanga