on 01-14-2014 11:22 AM
Hello,
I am facing an issue with PayloadZipbean.
I have a file at SFTP location e.g. "xyz.zip" and it contains another file "abc.csv" in it. I need to process this CSV file.
I created SFTP communication channel and I have given file name as "xyz.zip".
In module processing, I am using PayLoadZipbean and MessageTransformBean to process this file.
MessageTransformBean is working correctly.
Processing Sequence :
0 AF_Modules/PayloadZipBean
1 localejbs/AF_Modules/MessageTransformBean
2 localejbs/CallSapAdapter
and for unzip I have mentioned parameter as zip.Mode = unzip.
Problem: Some different character set is shown in SXMB_MONI.
If you directly open any zip file in notepad++, same character set is visible.
It looks like unzip is directly opening the file instead of extracting it.
Any help will be highly appreciated.
Thanks and Regards,
Sanjay
I am also facing the same issue. Did you get this resolved somehow, do we need any patch for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanjay,
Have you checked in the adapter audit log if there is any exception?, may be the zip is bad formed.
Also, try to get file without payloadzipbean and to decompress it manually in order to check its structure.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
CSV file in ZIP is correct. I have checked with the file only (without zip), it works perfectly. If you have zip folder on your desktop and if you try to drag and drop it in notepad, it would give some output in notepad. Same output is in my payload.
Somehow extraction of the file is not working. Is it possible that SFTP also needs to support extraction or something like that.
Regards,
Sanjay
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.