File Mover Blog

  • 20 Mar

    Pascal Script, generate a file

    Q: I want to generate a file which is called “complete” in target folder after all files are moved to target folder.

    In this case you’ll need to add 2 Pascal Scripts.
    First one ‘One Rule Begin’ script:

    Begin
      psExitCode:= 1;
      // … add your code here
      psResetCounter;
    End.
    Second one ‘On Rule End’ Script (you need to adjust the ctFilePath value in the script):

    Var
      tmpFile: TStringList;
    Const
      ctFilePath = 'C:\Test\Out\OutPS\';
      ctFileName = 'complete.txt';
      ctFileContent = 'dummy file';
    Begin
      psExitCode:= 1;
      // ... add your code here
      If psCounter > 0 Then
      Begin
        tmpFile := TStringList.Create;
        Try
          Try
            tmpFile.Add(ctFileContent);
            tmpFile.SaveToFile(ctFilePath + ctFileName);
            psLogWrite(1, '', 'Save complete file succes');
          Except
            psLogWrite(1, '', 'Save complete file error');
          End;
        Finally
          tmpFile.Free
        End;
      End;
    End.
    

    #filetransfer #mft #filemanagement

    If you need any info  about this ‘generate a filet’ request, please let us know.

    Best regards,

    Limagito Team

    By Limagito-Team Pascal Script ,
  • 04 Mar

    How-To Use Logging to a SysLog Server

    Dear Users,

    We’ve added SysLog (UDP) as logging option to our File Mover (v2018.3.4.0). We’ve also reduced the amount of Log Levels to 4: “Error, Informational, Enhanced and Debug”. We strongly advice not to use the Debug log level in production.

    • SysLog Server Setup, this setup is common for all rules

    • Result of enabling the SysLog option

    Please let us know if you have any question/remark about this new option.

    Regards,

    Limagito Team

    By Limagito-Team Logging ,
  • 27 Jan

    LimagitoX File Mover goes mad(Except)

    Dear Users,

    Regarding version 2018.1.27.0

    We don’t write bugs .. I mean not on purpose. We’ve decided to add an exception handler from an external company called madExcept (madshi.net). This will help us locating bugs if they do occur. In case of an unhandled exception, our application or service wil log this in a ‘.mbr’ file ([m]adExcept [b]ug [r]eport). These mbr files will be written to the log subdirectory of our file mover settings directory.

    Possible files, we hope you won’t find any 🙂

    – LimagitoXA.mbr (Application)
    – LimagitoXC.mbr (Config Tool)
    – LimagitoXR.mbr (Remote Tool)
    – LimagitoXS.mbr (Service)
    – LimagitoXW.mbr (Web Remote Tool)

    Would be really helpful if you could send them to us.

    Regards,
    Limagito Team

    By Limagito-Team Logging ,
1 109 110 111 112 113 114 115 136
SEARCH