File Mover Blog

  • 28 Aug

    SFTP connection to the server is not established. WTF?

    You execute a rule which uses SFTP and … nothing. Connection is not established.

    SSH family of protocols is complex and various SFTP servers interpret the specifications differently. This leads to the problem, when to connect and interoperate with some server you need to select the right combination of SSH protocol settings.

    1. SFTP protocol has it’s own versions (LimagitoX supports SFTP versions 2 to 6). The server and LimagitoX must have the overlapping set of enabled versions. If the server is configured to support only SFTP 3 and LimagitoX has only versions 4 to 6 enabled, then you don’t get a connection. You need to check and adjust Versions property of LimagitoX. Moreover, some servers work correctly only when just one version (SFTP 3) is enabled. I.e. you might need to enable just SFTP 3 in LimagitoX in order to successfully work with such server.
    2. If the server closes connection without reporting any error, this usually means that you are connecting to the buggy server, which doesn’t interpret the LimagitoX client request correctly. What does this mean? LimagitoX sends the list of known algorithms to the server. The server must ignore the unknown entries in the list of algorithms. However many servers crash or close connection when they come across the name of the algorithm, that they don’t understand. In particular, all 3.x versions of OpenSSH do this. In this case you need to turn off all algorithms besides the very old and well-known (listed below). LimagitoX tries to detect the old servers automatically and disable the newer algorithms. This is controlled by the ‘Auto Adjust Ciphers’ option (default enabled). In most cases this solves the problem. If it does not, disable the ‘Auto Adjust Ciphers’ option and enable the ‘Restrict Algorithms’ option. This will turn off all algorithms besides the very old and well-known (forced).
    3. https://limagito.com/exception-error-sftp-component-not-connected/

     

    By Limagito-Team SFTP ,
  • 24 Aug

    Command option, redirect output to log (v10.8.24.0)

    User request:

    I would like the console output from the command called in Limagito to be recorded in the RunTime and History Logs (database also).  I am calling a program that writes to the console text as shown in the following screen grab.  This output would be very helpful if logged with the Limagito move.

    • Command option, redirect output to log (v10.8.24.0)

    With this option you can redirect your command console output to the LimagitoX log. There will be no output available in the command console window. Please use version v10.8.24.0 or higher.

    Best Regards,

    Limagito Team

     

    By Limagito-Team Command , ,
  • 02 Jul

    WeekOfTheYear ‘w’ or ‘ww’ parameter

    We are using a function called WeekOfTheYear for this parameter.

    Information:

    Call WeekOfTheYear to obtain the week of the year. WeekOfTheYear returns a value from 1 through 53.

    AYear returns the year in which the specified week occurs. Note that this may not be the same as the year of AValue. This is because the first week of a year is defined as the first week with four or more days in that year. This means that, if the first calendar day of the year is a Friday, Saturday, or Sunday, then for the first three, two, or one days of the calendar year, WeekOfTheYear returns the last week of the previous year. Similarly, if the last calendar day of the year is a Monday, Tuesday, or Wednesday, then for the last one, two, or three days of the calendar year, WeekOfTheYear returns 1 (the first week of the next calendar year).

    Note: WeekOfTheYear uses the ISO 8601 standard definition of a week. That is, a week is considered to start on a Monday and end on a Sunday.

    By Limagito-Team Parameters ,
SEARCH