on 12-23-2011 7:11 AM
Hi All,
I have a scnario where one or more files would be zipped and placed in the FTP folder which needs to be processed by PI.
To implement this I tried to use PayloadZipBean to unzip along with PayloadSwapBean. But by doing this I am able to process only one of the files in the zipped folder which is again randomly picked. Everytime I process the same input different file is been processed and rest of the files are considered as an attachment.
Could any of you suggest me how to process all the files in the zipped folder?
Thanks
Sowmya
Hi Sowmya,
If the requirement is simply a file to file scenario without any mapping, you can follow the proceedure as said by Raja.
Could you explain the interface scenario, you are trying to implement. So that we would be suggest some solution for your query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Ok, let me explain the complete scenario. I need to pick the zipped file and convert all the files present in the input zipped file to flat files and zip all the files before sending to the thrid party.
Due to this i cannot try extracting all the messages to some other location and then pick and process the files. By doing this, the each processed messages would be converted to plain flat file and then this can be zipped; which is not preferred.
Regards
Sowmya
Hi Sowmya,
The simple way is to write a OS script to unzip the files on tjhe FTP. So that PI will be able to pick all the files and process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.