Hi,
I’m trying to sending a file to the rest service where it has stream as input and using the streamtoFile service to write into the shared path.it is working for PDF/text file where the content type is coming as application/PDF,text/plain and it is not working for MSWord/excel file or Image.
and i observed for the text file where original file is changing in the destination.the content of the file is overriding with the boundary data.
and for pdf we able to see the actual file.
for ms word file the content type is coming as application/octet-stream
and for image it is coming as image/png.
it would be better if aby one suggest me,what is solution for this?