winAPI:Function Long URLDownloadToFile (Long Caller, String URL , String FileName,Long Reserved, Long fnCB) Library "urlmon" ALIAS FOR "URLDownloadToFileA"
例子:integer li_return
string ls_address
//URL
ls_address = "http://127.0.0.1/test/test.zip"
li_return = URLDownloadToFile( 0, ls_address, "c:/test.zip", 0, 0)
messagebox('',li_return)
本文介绍如何使用Windows API (WinAPI) 中的 URLDownloadToFile 函数来从指定URL下载文件到本地磁盘。通过示例代码展示了如何设置必要的参数并调用此函数。
993

被折叠的 条评论
为什么被折叠?



