C# Class SIL.FieldWorks.Build.Tasks.DownloadFile

Downloads a file from a web address. Params specify the web address, the local path for the file, and optionally a user and password. The user/password feature has not been tested. If using an important password, make sure the address is https, since I think otherwise the password may be sent in clear. Adapted from http://stackoverflow.com/questions/1089452/how-can-i-use-msbuild-to-download-a-file
Inheritance: Microsoft.Build.Utilities.Task
ファイルを表示 Open project: sillsdev/FieldWorks

Private Properties

Property Type Description

Public Methods

Method Description
DoDownloadFile ( String remoteFilename, String localFilename, String httpUsername, String httpPassword, bool &success ) : int
Execute ( ) : bool

Method Details

DoDownloadFile() public method

public DoDownloadFile ( String remoteFilename, String localFilename, String httpUsername, String httpPassword, bool &success ) : int
remoteFilename String
localFilename String
httpUsername String
httpPassword String
success bool
return int

Execute() public method

public Execute ( ) : bool
return bool