C# Class Azavea.NijPredictivePolicing.ACSAlchemistLibrary.Transfer.FileDownloader

This class contains the logic for caching, and downloading a url
Datei anzeigen Open project: azavea/acs-alchemist

Public Methods

Method Description
GetFileByURL ( string desiredURL, string filePath, bool &cancelled, bool workOffline = false ) : bool

Attempts to download the desiredURL, and save it to filePath. Does not attempt to download the file unless the file creation time on the server is more recent than any existing copy, and the file hasn't been checked for over 7 days.

Method Details

GetFileByURL() public static method

Attempts to download the desiredURL, and save it to filePath. Does not attempt to download the file unless the file creation time on the server is more recent than any existing copy, and the file hasn't been checked for over 7 days.
public static GetFileByURL ( string desiredURL, string filePath, bool &cancelled, bool workOffline = false ) : bool
desiredURL string
filePath string
cancelled bool
workOffline bool
return bool