WebDAV Asynchronous VIs

Owning Palette: WebDAV VIs

Requires: Full Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the WebDAV Asynchronous VIs to securely manage files on and transfer files to and from a target using an asynchronous interface.

Although both the synchronous and asynchronous VIs allow you to complete similar processes, asynchronous VIs allow you to run multiple requests in parallel. However, asynchronous VIs may be more difficult to use. Consider using synchronous VIs if you do not need to run multiple requests in parallel.

Consider using asynchronous VIs to complete the following processes:

Palette ObjectDescription
Asynchronous Abort RequestCancels a working asynchronous WebDAV request. This VI triggers a Request Complete WebDAV event that lists the status as aborted.
Asynchronous Close Request HandleCloses and disposes of a request handle. If the request is not complete, this VI aborts the request.
Asynchronous Close SessionCloses an asynchronous WebDAV session created by an Asynchronous Open Session VI. LabVIEW aborts any requests still running when this VI executes.
Asynchronous Configure SSLProvides Transport Layer Security (TLS), formerly known as Secure Sockets Layer (SSL) authentication for asynchronous requests associated with the session handle. Use TLS/SSL authentication with other WebDAV VIs to send requests to a server, Web page, or Web service using TLS/SSL. Use this VI to verify the identity of the server against a list of trusted certificate authority (CA) certificates, and provide client authentication, if required by the server. Session handles save the TLS/SSL credentials across multiple Web requests. The request this VI generates can run in parallel with other asynchronous WebDAV requests.
Asynchronous CopyCopies a file or directory from one location on a WebDAV server to another location on that WebDAV server. The request this VI generates can run in parallel with other asynchronous WebDAV requests. This VI times out if it exceeds the timeout value of the session that you set in the Asynchronous Open Session VI.
Asynchronous Create DirectoryCreates the specified directory on the remote WebDAV server. The full path to the parent directory must already exist. Otherwise, this VI returns an error. The request this VI generates can run in parallel with other asynchronous WebDAV requests.
Asynchronous Create Event RegistrationReturns an event registration reference that is identical to the event registration reference the Asynchronous Open Session VI generates. This VI allows you to send events from the same WebDAV session handle to multiple Event structures.
Asynchronous DeleteDeletes a file or directory on a WebDAV server. The request this VI generates can run in parallel with other asynchronous WebDAV requests.
Asynchronous Directory ListingGenerates a list of all directories and files within the directory you specify in relative uri. You can view the list of directories and files in the List Directory Complete WebDAV event that this VI triggers. The request this VI generates can run in parallel with other asynchronous WebDAV requests.
Asynchronous GetReturns a file or directory from a remote WebDAV server or target. You must manually select the polymorphic instance you want to use. The request this VI generates can run in parallel with other asynchronous WebDAV requests. This VI times out if it exceeds the timeout value of the session that you set in the Asynchronous Open Session VI.
Asynchronous MoveMoves a file or directory from a location on a WebDAV server to another location on that server. The request this VI generates can run in parallel with other asynchronous WebDAV requests.
Asynchronous Open SessionOpens an asynchronous WebDAV session and creates an associated session handle. This VI also returns event clusters that indicate request progress and completion. After calling this VI, you can use the WebDAV session handle to perform other operations using the same connection.
Asynchronous Path InfoGenerates information about the file or directory you specify in relative uri. You can view the file or directory information in the Path Info Complete WebDAV event that this VI triggers. The request this VI generates can run in parallel with other asynchronous WebDAV requests.
Asynchronous PutUploads a file or raw binary contents of a file to a remote WebDAV server or target. You must manually select the polymorphic instance you want to use. The request this VI generates can run in parallel with other asynchronous WebDAV requests. This VI times out if it exceeds the timeout value of the session that you set in the Asynchronous Open Session VI.
Asynchronous Request StatusGets the current status of an asynchronous request.