命令行下的下载程序组件
wget
01 Syntax
Microsoft.VisualBasic.Net.WebClient.wget
02 Methods
03 Members
#ctor(
String, String, Dictionary(Of String, String))Create a new file download task
Parameters
| Name | Type | Description |
|---|---|---|
url | String | The remote resource to download. |
save | String | The file save location |
Run
Run the file download task
ReportRequest(
HttpRequestMessage, HttpResponseMessage, String)Do task summary
Parameters
| Name | Type | Description |
|---|---|---|
req | HttpRequestMessage | - |
resp | HttpResponseMessage | - |
Download(
String, String, Dictionary(Of String, String), Boolean)执行有详细进度信息显示的文件下载操作, 如果只需要调用一个单纯的文件下载函数, 请使用WebServiceUtils.DownloadFile()拓展函数
Parameters
| Name | Type | Description |
|---|---|---|
url$ | String | - |
save$ | String | - |
ToString()
PipeTask(
String)Download(
String, Stream)Dispose()