Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Suggestion on File.SetAttributes

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Suggestion on File.SetAttributes

    Hi,

    I would like to suggest to add a command on File.SetAttributes to update the file's date. The command would be something like this:

    -- change the last date the file was written, in ISO format
    File.SetAttributes("\\MyFile.doc", {WriteDateISO="2011-06-18T14:55:05"} )

    The reason for requesting this because in my FTP sync program, that synchronizes files from our ftp to a local drive, the file's date is important to retain his date after download as this will be used later for comparison. Sometime ago, I believe, Ulrich, suggested to run touch.exe to update the file's date. It worked well but recently, some Mac user, where they emulate to run windows on mac, the touch.exe failed to work as it's not a registered program.

    By the way, AMS already have the command to get the file's date using File.GetAttributes but the set is not implemented.

    Thanks,

    M. Adea
    Geneva

  • #2
    Thanks for the suggestion.
    REF: AMSSUG-74
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

    Comment


    • #3
      Thanks Darryl. We hope you can add this command soon so we could implement our Sync application on Mac emulating Windows. Will it be available on the next update?

      Regards,

      M. Adea

      Comment

      Working...
      X