TMSFNCWebBrowser Download PDF to File

I am logging into a website using a TMSFNCWebBrowser. After logging in, I need to download a number of PDF files.

I know the links to the files. When I navigate to one of the links in the browser, the PDF is displayed along with controls to manipulate it.

Instead of loading the PDF into the browser, I want to save it to disk. How can I do this?

Thanks, Sidney

Maybe this will help: TMSFNCWebBrowser Download File - #4 by Pieter_Scheldeman


TAdvWebBrowser is the same as TTMSFNCWebBrowser, code snippets are for Windows Only