File Mover Blog

  • 25 Mar

    Log File keeps increasing although the maximum size is set

    Log File keeps increasing although the maximum size is set

    Dear users,

    We recently installed our file mover at a new customer. From the first moment on we had issues with our History Log option (= logging to file). The log file kept on growing although the maximum logsize and log count were set. We tried many (many) different settings, we even installed our file mover on a second system but the result was always the same. Sometimes the filesize even stayed at zero bytes (using the Windows File Explorer) but when we opened the file it contained log data.  We had never experienced this in all those years. After a lot of tests we found a workaround and changed our logging code. Now we count the bytes we write to the log file so we no longer depend on what the Windows Filesize API tells us. We changed this in version v2021.3.20.0.

    Limagito File Mover History Logging

    We really appreciate all the help we got from Jason and Jay.

    If you need any help with this ‘Log File keeps increasing’ issue, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Logging ,
  • 21 Mar

    Q&A 41: Merge Multiple Input Files Into a Single Output File

    Q: Merge Multiple Input Files Into a Single Output File. We have a new requirement where we have multiple input files , but when this info is moved to the target server, then it should be combined into one single file – named for example… ‘ELEC_WHT_PRICESHEET.CSV’. Is there a way to combine all the input files into one output file?

    A: With WIN as Destination we have a File option: ‘Append if file exists’. The trick is to use the file rename option to rename the source files you want to append to the same destination filename.

    Limagito File Mover Merge Files

    Destination File Rename option:

    Limagito File Mover Merge Renaming

    If you need any help with this ‘Merge Multiple Input Files’ request, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Q&A WIN , ,
  • 10 Mar

    I have a load of FTP sites that customer upload to, difficult to manage

    Q: Have a request. I have a load of FTP sites that customer upload to and currently we have a Limagito move on each of those folders – we now have too many of them to manage. Am trying to cut these down to one move per group of users.

    So, if a file arrives in a folder ABCD the move will pick it up, report to the user that a file has arrived and place it in their User folders with an append to the name telling them that it arrive in folder ABCD. So customer called ABCD has uploaded a file named ‘my files to you’ to their folder called ABCD. The file(s) are picked up and moved to a new folder with and rename ‘ABCD-my files to you’. Pretty sure this is possible here. But have had bit of play around with it but its defeating me!!!

    A: So the FTP server has a root folder with 1 subfolder for each customer like

    D:\Root\CustomerA
    D:\Root\CustomerB
    D:\Root\CustomerC
    Limagito will scan D:\Root and will pickup files from subfolder CustomerA and move them to another folder with the prefix of CustomerA-filename.pdf
    Limagito will scan D:\Root and will pickup files from subfolder CustomerB and move them to another folder with the prefix of CustomerB-filename.pdf

    1.Please add the following ‘On Destination’ Pascal Script:
    LimagitoX File Mover Pascal Script

    Begin
      psExitCode:= 1;
      // ... add your code here
      psVSA := psStringReplace(psFilePath, psSourcePath, '');
      psVSA := psStringReplace(psVSA, '\', '');
    End.
    

    Limagito File Mover On Destination Pascal Script
    2. Add the following Destination File Renaming:

    Limagito File Mover File Renaming option
    Limagito File Mover File Renaming setup
    If you need any help with this ‘load of FTP sites’ request, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Pascal Script WIN
1 75 76 77 78 79 80 81 145
SEARCH