on 09-14-2017 3:43 PM
Hi Experts,
I have a scenario in which we are using SFTP adapter to send data and proxy to receive Data.Now There are 2 files which needs to be zipped before it can be sent to receiver.
This zipped file should also have name with "country__invocie_timestamp.zip".
both country and invoice are received from payload.
I have used following configuration in receiver channel:
I have tried variable substitution, for sure it will not work.
I have also tried to use dynamic configuration, its also not working, not sure if i was wrong somewhere. But when I saw in monitoring it's not showing me any file name.
How can I achieve it any clue?
Regards
Neha
Hi Neha!
ASMA attributes from Dynamic configuration should work. Did you set the right attributes namespace for it in adapter's setting? SFTP adapter uses different namespace by default than File adapter does.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nunu,
Have you checked Stefan Grube's blog on the topic yet? In the post he describes a method of setting the file names within the Zip File. The link to the adapter module that would let you set the name of the actual zip file is broken. You can find the referenced wiki page here.
Regards,
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.