Click or drag to resize
Accord.NET (logo)

WebDataSetDownload Method (String, String, String, String)

Downloads a file from the specified url, storing in localPath, under name uncompressedFileName.

Namespace:  Accord.DataSets.Base
Assembly:  Accord.DataSets (in Accord.DataSets.dll) Version: 3.8.0
Syntax
public static bool Download(
	string url,
	string localPath,
	string localFileName,
	out string uncompressedFileName
)
Request Example View Source

Parameters

url
Type: SystemString
The URL where the file should be downloaded from.
localPath
Type: SystemString
The path where the file will be stored localy.
localFileName
Type: SystemString
The local file name to be used for the download.
uncompressedFileName
Type: SystemString
The generated name of the uncompressed file.

Return Value

Type: Boolean
true if the download succeeded, false otherwise.
See Also