cancel
Showing results for 
Search instead for 
Did you mean: 

How To Create a Dynamic File Name Using SFTP Channel?

Former Member
0 Kudos

Hi Experts,

   I have one scenario, where in we need to create one file &Send it to our partner using SFTP channel.

As per the requirment the sending file name should be the Batchno(15) characters Padded with Zeros+Date_Time+'INP'.XML

<Batch_ID>_DATE_TIME_INP.xml

The Batch no is a part of my payload. How to get this & construct the File Name.

Do i have to write the UDF. ? If UDF then how to use it in Adapter & construct the Filename.

Pl. send me the Code if possible & screen-shot of Mapping as well as the configuration required for SFTP Receiver Adapter.

Regards,

Umesh

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184681
Active Contributor
0 Kudos

Hi Umesh,

Please use the search function first, and only post detailed questions if you had further doubts. There are tons of threads describing this config step by step.

Regards,

Greg (Moderator)

Former Member
0 Kudos

Hi Greg,

  I tried searching but not getting any document as per my requirement. can you pl. help me.....

suggest some links if they are available....

looking forward for your help....

Regards,

Umesh

former_member184681
Active Contributor
0 Kudos

Hi Umesh,

See for example here:

The post by Anupam Ghosh contains all the information you need.

Regards,

Greg