[Solved] Open PDF Automatically After Downloaded

Thanks to @blackapps for the suggestion. I found out that the answer of my silly question is quite simple. I insist in using URLUtil.guessFileName(url,contentDisposition,mimeType)) because when I download the pdf file, the downloaded filename will be the same with the uploaded filename in my client’s website. So what I just did is adding this equation … Read more