以 FTP 協定抓取檔案
sUrl | String | - | 必須 | (無) | 依 rfc1738 規格建立 url 字串,例如:ftp://userid:password@ip1.ip2.ip3.ip4:port/path/file.ext |
sFullFile | String | - | 必須 | (無) | 本地存放檔案全路徑 |
lpszTitle | String | - | 可省略 | App.Title | 連線端程式 |
TransferFlags | enuInternetFlag | 4 | 可省略 | FTP_TRANSFER_TYPE_BINARY | 傳輸方式 |
summy = myFtpGetFile("ftp://userid:password@ip1.ip2.ip3.ip4:port/path/file.ext", "c:\temp\file.ext", App.Title)
整理中
Visual Basic 4 以後 | 需同時引用modFileTool模組 | WinInet.bas
|