Search code examples
asp.netdatetimedocumentcreation

originally Creation Date of a Document


i have a file with documents.

i wrote a applikation with asp.net.

i need to read the creation date and the date of the last change (and title, etc.) for that i used the API filesysteminfo.

in the file are documents, that are a copy of a vss server. but when a document is copied, the date of creation changes to the "date of copy". but i need the original date of creation.

any idea?

greetings


Solution

  • i solved the problem with robocopy

    robocopy source destination [parameter]

    default it copies Data, Attributes and Timestamp

    http://technet.microsoft.com/en-us/library/cc733145%28WS.10%29.aspx

    http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displayLang=en