Suggestion on File.SetAttributes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • adeam
    Indigo Rose Customer
    • Oct 2010
    • 23

    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
  • Darryl
    Indigo Rose Staff Member
    • Jul 2001
    • 1908

    #2
    Thanks for the suggestion.
    REF: AMSSUG-74

    Comment

    • adeam
      Indigo Rose Customer
      • Oct 2010
      • 23

      #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