Hello,
When I send the request to the server to request the file for download, it will return the file data in base64 binary and I know this file extension is in .pdf. I programatically download this file and open it, I got an error "Adobe Reader could not open "Report.pdf" because is is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)". I also try to decode the base64binary data but still doesn't work. Can anyone helps me out with this? Thanks in advance.
Here is the code that I'm trying to download:
byte[] ba = ws.DownloadFiles(username, userpassword, filename);
Response.ContentType = Go to the complete details ...