timestamp

  • 19 Aug

    Change time date stamp to the time and date that files are moved

    Q: Is it possible, while moving a file, to also change the time date stamp to the time and date that the files are moved? I’m trying to set up a rule to remove certain files from a folder and just want to change the time and date of the file to the time that the file was moved by this rule.

    A: Yes this is possible. Please open your Destination setup and select ‘File & Directory’ Tab.

    Please enable our ‘Reset File DateTime to Current DateTime’ option.

    Limagito File Mover Timestamp

    Feedback user: “Works great. Thank you”

    #FileTransfer

    If you need any info about this ‘Change time date stamp’ request, please let us know.

    Best regards,

    Limagito Team

    By Limagito-Team WIN , ,
  • 09 Jan

    Q&A 40: Is it possible to create a file timestamp monitor job

    Q: Is it possible to create a file timestamp monitor job. I mean, is there a way to setup a job that states that if there has not been a file with a timestamp of less than say 2 hours to send an alarm?

    A: Yes this is possible. We added some screenshots to get you started.

    • Be sure the Function is set to ‘Copy Files’ (which is default).

    Limagito File Mover Function Setup

    • Please add the directory you want to monitor as WIN Source. In our example we’ll use ‘C:\Test\In\’.

    Limagito File Mover Source Selection

    • We are going to monitor .pdf files in this example so we added  *.pdf  as Filename Include Filter.

    Limagito File Mover Filename Filter Setup

    • Our goal is to check if there are files available younger than 2 hours:

    Limagito File Mover Filedate Filter Setup

    • As Destination we added a simple Pascal Script to give us some information:

    Limagito File Mover Destination Selection

    Begin
      psExitCode:= 1;
      // ... add your code here
      psLogWrite(1, '', 'File Found: ' + psFilePath + psFileName);
    End.

    Limagito File Mover Pascal Script

    • Next step is to setup the ‘On No File Found’ Rule Event:
      • Enable ‘On No File Found’ Rule Event
      • Enable Mail
      • Setup Mail Message
      • Setup Common SMTP (Server which will send the Mail Message)

    Limagito File Mover Rule Events

      • Mail Message Setup

    Limagito File Mover Email Setup

      • Setup Common SMTP (Server which will send the Mail Message). We are using the Google SMTP to send the Mail Message.

    Limagito File Mover SMTP Server Setup

    • We added a Pascal Script which will add information in the log when the event is triggered.
    Begin
      // ... add your code here
      psLogWrite(1, '', 'We did not find any file younger than 2 hours');
    End.

    Limagito File Mover Rule event Pascal Script

    • If you don’t want to send the email event ‘On No File Found’ with each scan then please enable ‘Error event Memory’ in the Options Tab. When this option is enable AND ‘No File Was Found’ then we’ll send the email only once. The ‘Error Event Memory’ will reset itself when a file was found again.

    • RunTime Log Result when no file younger than 2 hours was found:

    Limagito File Mover RunTime Log Result

    • Email Result when no file younger than 2 hours was found:

    Limagito File Mover Email Message

    If you need any help with this ‘file timestamp monitor’ request, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Q&A WIN ,
SEARCH