A set of VIs that extend the functionality of the LabVIEW HTTP Client library in some useful ways:
- Asynchronous file download with progress monitoring and abort
- Follow redirects
The asynchronous file download with progress monitoring and abort is achieved by spawning an asynchronous "actor" (not Actor Framework) that calls the "HTTP GET.vi". This "actor" monitors the output file size and updates an internal DVR that's uses to share data between the actor and the API methods. Aborting a download in progress is achieved by calling the VI:Abort method on the "actor" VI. This approach is necessary, if the HTTP GET.vi is downloading, since there is no other way to abort the download -- the HTTP Client does not support an abort and not even destroying the HTTP Client handle will abort a download in progress (HTTP GET blocks the call to the HTTP Client's CloseHandle.vi)
- Create an HTTP GET (Asynchronous) actor that can be aborted, if needed, and messages progress back to the caller.
- Create an HTTP GET (Follow Redirects) that can follow redirects