We have a requirement, where user will upload unadjusted bank statement (.TXT) and as a part of our customization, there are few modifications required in the file to make the file adjusted once it is uploaded by the user.
The custom code to make the file adjusted is already developed but somehow, I am not able to replace the uploaded file data with new data as I will have to replace file or file content during one process so that the system will consider adjusted file but NOT the one that user has uploaded.
So, Is there any way where we can replace the uploaded file with the new file or uploaded file steam with new steam so that the adjusted file will be considered for further process?