File Mover Blog

  • 22 Apr

    Error while searching files: Invalid signature message

    Q: We have the problem with deletion rules for different SANs that the error message “Error while searching files: Invalid signature” appears in the log. I have attached a screenshot of the error message and the rule as pdf. It’s nothing complicated. The P-drive on which should be deleted in several folders is a Quantum SAN \\MyServer\production which is connected via smb in windows and the used user has RW rights. But there are also rules on the same storage that work without this error message. Do you have any idea what this could be or what the error message means? In the blog I have unfortunately found nothing about this error message.
    The customer was using our File Mover as Application and this combined with a mapped network drive (+drive letter) which he added within Windows. This is not something we prefer certainly not when using our File Mover as Service where it is absolute necessary to use our Network Drive option to map network shares.
    Since he was using our File Mover as Application we adviced him to enter the full path instead of the mapped drive letter. We received the following feedback:
    Thanks for the tip. I have been running the rules since our last mail and it seems that it really was that. With the full UNC path, the error message does not appear so far.
    Other links about this topic:
    #FileTransfer
    If you need any help with this ‘Invalid signature’ error message, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Error ,
  • 19 Apr

    Backup source file only when copy or move to destination is successful

    Q: Backup source file only when copy or move to destination is successful. At this moment we are using the Backup option to create a backup of the source file. This is working fine but it seems to create a backup before the file is copied or moved to its destination. So when the destination fails due to some reason then the file still will be available in the backup folder. This is something we don’t want. It should only create a backup when copy or move to destination is successful.

    A: Yes this is possible but you need to do this a bit differently.

    In version v2021.4.21.0 we added a new Function Option: ‘Destination Memory & Exit Cyclus on Error’ which will be used in the setup.

    In the following example we are moving pdf Files from a WIN source to a WIN Destination. Our goal is to create a backup of the source file but only when the move to the destination succeeds.

    1.We are using a WIN folder as source, but will also work with all other Source types.

    Limagito File Mover WIN as Source
    2.Be sure the Backup option is unchecked (disabled). We need a different setup for this request.
    Limagito File Mover Backup File Setup
    3. Add an extra WIN Destination as Backup (must be the last one). This second (WIN) Destination will contain the Backup of the source files.
    Limagito File Mover Backup Destination
    4. One more step is to select ‘Destination Memory & Exit Cyclus on Error’ in the function setup.
    Limagito File Mover Function Setup
    Summary, due to this new ‘Destination Memory & Exit Cyclus on Error’ option:
    • when the first Destination fails, it will exit and not copy the file to the second, aka ‘Backup’, Destination.
    • when the first Destination succeeds but a move to the second, aka ‘Backup’, destination fails:
      • It remembers the move to the first Destination which was succesful and will not move the same source file to this first Destination during the next scan.
      • When the second Destination is available again, it will move the source file to this Destination only.
    #FileTransfer
    If you need any help with this ‘Backup source file only when copy or move to destination is successful’ request, please let us know.

    Best regards,

    Limagito Team

    By Limagito-Team Backup
  • 16 Apr

    Microsoft Defender Antivirus Command-Line tool before moving a file

    Q: I would like to use an Antivirus Command-Line tool before moving a file to its Destination. Can you recommend an antivirus scanner that your software can call and scan the file before transmitting?
    A: Since Microsoft Defender Antivirus is installed on latest OS versions we decided to use the command-line version ( mpcmdrun.exe ) of this AV.

    We are using a 64bit Windows 10 and installed the 64bit version of our Limagito File Mover. In this case the 64bit version of our File Mover is a must because the AV Command-Line tool is also 64bit. It will not work otherwise.

    • In the following example the Source is a Windows folder (WIN). Our goal is to transmit some pdf files to an AWSS3 Destination. Before sending the files we want to scan them using the command-line version of Microsoft Defender Antivirus.

    Limagito File Mover Windows folder as Source

    • Open the ‘Function’ setup, important here is that ‘Exit Cyclus on Error’ is selected.

    Limagito File Mover Function Setup

    • Now we are going to add our Destinations. The first Destination must be CMD (Command), the second Destination is where the source file will be moved to if it isn’t infected by a virus.

    Limagito File Mover Destination setup

    • CMD (Command) Setup as First Destination:

    CMD /C ” “%ProgramFiles%\Windows Defender\MpCmdRun.exe” -Scan -ScanType 3 -File “%SFP%SFN” “

    When the AV scan is successful the ExitCode will be 0. All other values will be treaded as an error and will result in the source file not being moved to the second destination due to the ‘Exit Cyclus on Error’ selection in the Function setup.

    Limagito File Mover mpcmdrun.exe command-line tool

    • The second destination is where the source file will be moved to if it isn’t infected by a virus. You can choose this yourself. In our case it is AWSS3.
    • In case the AV returns an error (CMD ExitCode <> 0) then the file will not be moved to its second destination. Now you can add an ‘On Error’ Rule event to warn you.

    Limagito File Mover Rule Events

    • RunTime Log result:

    Limagito File Mover RunTime Log

    #FileTransfer

    If you need any help with this ‘Antivirus Command-Line tool’ request, please let us know.

    Best Regards,

    Limagito Team

1 73 74 75 76 77 78 79 145
SEARCH