Skip to Content
avatar image
Former Member

Filename not built with variables substituted in SFTP receiver adpater

Hi All,

I have configured a Receiver sFTP adapter with variable substitution enabled. Variables are getting substituted from the payload which is being observed from the log, but at the successive message logs, the file name is not getting built with the substituted values rather the file name contains the variable name only () while being sent to the sFTP destination.

As you can see, the values are getting substituted for variables %mestyp% and %rcvprn% in first two lines of the log, but the file name is actually not getting substituted. This results in getting the filename written with the variable by itself in the destination sFTP location.

I'm unable to figure out the problem as the same scenario works well and good with the same variable names and the values to be substituted while using those in File adapter.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 24, 2016 at 07:55 AM

    Hi Aananda!

    Just remove the trailing spaces after variable names in your Variable Substitution settings :-).

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded