Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

WebDAV Asynchronous VIs

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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:

  • Dynamically start requests in parallel. For example, you can use a single Asynchronous Get VI in a loop to download any number of files in parallel. Initiating parallel requests using synchronous VIs would require you to use multiple Get VIs and to branch the session wire.
  • Process requests in response to a user interface event. The WebDAV user events allow you to maintain a responsive user interface while a request processes. Creating a similar application using synchronous VIs requires much more effort.
  • View the progress of an upload or download request. This ability is unique to asynchronous VIs.
  • Abort individual requests before LabVIEW completes them. Aborting a request using synchronous VIs would require you to close the session, but doing so aborts all requests.
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 Secure Sockets Layer (SSL) authentication for asynchronous requests associated with the session handle. Use SSL authentication with other WebDAV VIs to send requests to a server, Web page, or Web service using 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 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.
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.
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.
Asynchronous Request StatusGets the current status of an asynchronous request.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit