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
It would probably help if you could show us the code you wrote so we can see how things are being referenced. Have you used any tool, like Fiddler perhaps, to see if anything is being sent to the client at all, or if the server just never send the file?