也许您应该使用操作系统函数“ShellExecute()”(MSWindows 系统)来调用操作系统使用的命令进行下载。 例如,如果在您的操作系统上,“*.PDF”文件默认没有任何旨在打开它们的软件,那么这意味着当您单击“PDF”文件中的链接时,您的浏览器将尝试执行所以下载这个文件。 另一种方法是检查您的操作系统如何执行“另存为”功能,例如,您可以尝试下载任何文件。 但这应该在您的操作系统中进行分析和验证,也可能在您的 MSWindows 或其他正在使用的系统的“注册表”中进行分析和验证。 ---------- Perhaps you should use the operating system function "ShellExecute()" (MSWindows systems) to invoke the command used by the operating system to download. For example, if on your operating system, "*.PDF" files do not have any software designed to open them by default, then it means that when you click on a link in a "PDF" file, your browser will try to do so download this file. Another way would be to check in your operating system how to execute the "SAVE AS" function, so you can try to download any file, for example. But this should be analyzed and verified in your operating system and possibly in the "Registry" of your MSWindows or other system in use.
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3