cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Directory for sender File adapter

former_member190239
Participant
0 Kudos

Hello Experts,

I have a requirement where files from legacy will be placed in a directory.

This directory has folders for each month where the files will be placed only for that month say march files in march folder.. then next month all files in april folder and so on..

How do I configure the sender file adapter to pick up the files from the latest folder?

I understand this can be done in receiver file adapter to post files.. but sender ?

pls shre your thoughts

Accepted Solutions (1)

Accepted Solutions (1)

Faison
Advisor
Advisor
0 Kudos

Hello ravi teja,

See this blog and check if helpful for your request.

Dynamic Sender File Pickup based on Current Date

Best Regards,

Fasion

former_member190239
Participant
0 Kudos

Thanks Faison,

That is one wonderful blog catering to my requirement.

In my current scenario I have different folders based on the month and the files are inside these folders , so how do u suggest I configure?

A small query based on the design i I have is that , all files will have to reach the adapter engine for the mapping to determine the correct receiver and then the correct one is instantiated.. so in case of large number of files is it going to be slow?

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor

Hi,

You can configure all the folders in the file sender directory. The reason for this is that only one folder will have content every month, so it should not be a problem having the file sender poll in 12 directories.

Regards,

Mark

former_member190239
Participant
0 Kudos

Thanks Mark