posted 13 years ago
Hi,
I wrote a code using apache' fileUpload and when a file is uploaded from Windows to Unix env, there are ^M chars at the end. This code is deployed on Unix, but a file can be uploaded from Windows. I know how to use some unix commands or dos2unix from windows to remove the ^M chars, but this has to be done programmatically.
A byte array of windows data is written to file output stream to unix env.
Any clue...
thanks
Rams