cancel
Showing results for 
Search instead for 
Did you mean: 

Counter in target file name

Former Member
0 Kudos

Hi ,

There is a feature to append a counter value to the file name in the file adapter using NFS protocol , where is this counter value stored in the adapter engine so that the next time a file is created its name has incremented value for the counter. Can that value be stored and accessed using custom module in the receiver adapter for some modification in the standard feature.

Thanks in advance,

Pravesh Puria.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In the "Processing Parameters" section, in the dropdown for "File Constrcution Mode", you can select "Add Counter". Then, use the "Counter Definition" section to configure tne increment for the counter. You can also put a prefix before the counter in this configuration.

Also, by using the section "Adapter-Specific Message Attributes", you can use an user-defined function to create the filename based on your own specific requirement, which can by dynamically determined duirng runtime.

Regards,

Bill

Former Member
0 Kudos

Hi,

Thank you for the replies.

What I intend to know is the mechanism by which we can access the stored counter

value in a custom module. Is there any API using which we can implement a similar

feature for FTP protocol using a custom module.

Thanks in advance,

Pravesh Puria.

NikiScaglione
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

while editing your communication channel, in the section Processing Parameters --> File Construction Mode --> Add Counter

Best Regards,

Niki