File Mover Blog

  • 27 Dec

    Unzip stream read error with Limagito File Mover

    Unzip Stream Read Error

    Q: We are having an issue with one of our rules. We are getting a couple of errors:

    limagito file mover stream read error

    A: We asked and received a test file. The reason of these errors was simple .. it wasn’t a zip file. The file had the extension .zip but it should have been .7z (= SevenZip compression) which is a different compression method. We use the extension in our file mover tool to determine which kind compression is used in the Source file.

    We added the following option: UNZIP as Destination, Use Archive Header to determine Format (v2023.11.21.0) [+]

    We asked the customer if we could help with the update, otherwise he could use: https://limagito.com/how-to-update-your-current-version-of-limagitox-file-mover/
    After the update we asked to enable ‘Use Archive Header to determine Format’ in the Unzip as Destination setup. In this case we’ll check the header of the file and try to recognize the compression format. If we don’t recognize the header we’ll use the file extension.
    limagito file mover unzip options
    Important, this option only works with ‘API Vendor 3 – 7z’
    limagito file mover unzip options
    It looks like that works! Thank you for your help!

    #zip #unzip #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this ‘unzip stream read error’ question, please let us know.

    Best Regards,

    Limagito Team

     

    By Limagito-Team ZIP
  • 26 Nov

    How to use 7zip compression methods

    How to use 7zip compression methods

    In version v2023.11.26.0 we added 7zip as a third Vendor option.

    limagito file mover destination options

    • Select ‘ZIP’ as Function and ‘Vendor 3 – 7z’ as API Vendor:

    limagito file mover 7zip compression methods

    • Depending on the ‘Archive Extension’ you can create different kind of compression files:

    limagito file mover zip options

    #zip #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this new option, please let us know.

    Best Regards,

    Limagito Team

     

    By Limagito-Team ZIP , ,
  • 19 Nov

    How to rename a file to include day of the week

    How to rename a file to include day of the week

    Q: I found this in your blog but my filename pattern is different and I don’t know enough of the Pascal language to edit it.

    Here is an example of what I would like to rename.

    Original Filename: 2023-10-24_section_A2.pdf
    (2023-10-24 = October 24, 2023)
    Rename To:  Tues_2023-10-24_section_A2.pdf

    Any help you can provide would be greatly appreciated.

    A: Please have a look at the following example, I guess we need to fine-tune it. Let us know what you think.

    • We used a Windows folder as source:

    limagito file mover windows folder as source

    • Next, open our Pascal Script option:

    limagito file mover paascal script option

    • Enable and add the following ‘On Destination’ Pascal Script:

    You can download the script: here

    limagito file mover include day of the week pascal script

    • We used a Windows Folder as Destination:

    limagito file mover windows folder as destination

    •  Enable ‘Rename Files during Copy/Move’

    limagito file mover file renaming option

    • Renaming Setup:

    RegEx:   (.*)
    Replacement:   %VSA

    limagito file mover file renaming setup

    • RunTime Log Result:

    limagito file mover runtime log result

    #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this ‘include day of the week’ request, please let us know.

    Best Regards,

    Limagito Team

1 8 9 10 11 12 13 14 136
SEARCH