on 06-18-2016 10:26 AM
Hi All,
I am working on a proxy to file scenario.
Requirement is to generate a csv file on the receiver FTP folder.
In the receiver FTP adapter Content Conversion Properties, I have given fieldSeparator as comma (,).
When a particular field is having comma (,) within the data like <SALES_UNIT> 22,23</SALES_UNIT> this is getting separated in different column in the csv file.
How can we avoid this situation?
Thanks,
Rashid
Hi Rashid,
are you opening the CSV in excel?
AFAIK - the system needs to understand which comma needs is field separator and which one is data/value. In java we can define the escape char to achieve this.
Please provide more details about your issue.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rashid,
The Adapter is converting the data into correct format only but when u open the csv file in excel by default the excel has property of opening csv file with dlimiter as , (comma) that is the reason why u see the data is getting shifted to next cell.
But alternative u can have a different delimiter other then comma or the comma in data has to be replaced with some other characteristic, or you can have a delimiter as comma with double quotes (",")
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.