go to post ARJUN NAGARAJ · Dec 17, 2019 Found the root cause of it, there is no issues with above piece of code. Before that we were trying to Read the data form the stream using Read() without specifying the length. While reading for the first time data is getting truncated leaving PDF file corrupted and truncated.
go to post ARJUN NAGARAJ · Dec 17, 2019 Hi Juanito, Yes %Save is returning 1. I see PDF Stream is getting saved in Global ^CacheStream but data is not in readable format. Thank you, Arjun