Hi,

My problem is that I have to upload a CSV file from Client Machine (Windows) to Unix Application Server.
I am using JSP method post and multipart/form-data (as in http://www.roseindia.net/jsp/file_upload/Sinle_upload.xhtml.shtml).
The file is uploaded fine but the problem is it displays carraige Return (^M) a square boxes on Unix file.
I can't ask user to convert file to Unix format before uploading. They just convert excel file to CSV and upload.

Is there any way I can get rid of these characters as I have to use this file further.

Sorry, I can't use any paid utility or tool for it.

I would appreciate if you could please help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.