Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2010
    Posts
    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

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,862
    Thanks for the suggestion.
    REF: AMSSUG-74
    Darryl
    Indigo Rose Corporation

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

  3. #3
    Join Date
    Oct 2010
    Posts
    23
    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts