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

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

Méthodes publiques

Méthode 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 méthode

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
Résultat bool