Question
HCL Singapore pte ltd
SG
Last activity: 6 Feb 2017 11:40 EST
How to show binary stream data to user
Hi All ,
I need to display binary stream of file document like images and pdf's sent by external system. End user of my application can download these files . my application got binary stream as soap attachment, I am able to get binary stream as string in pyattachedValue of soap attachment , I have stored that binary stream in one string and apply getbytes() method on that string and use sendFile() method of publicAPI. now user click on link to download that file we got blank data.
any suggestion how to give download option to user download these binary stream