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

WebDAV Synchronous 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 Synchronous VIs to securely manage files on and transfer files to and from a target using a synchronous 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
Close SessionCloses a WebDAV session created by an Open Session VI. LabVIEW aborts any requests still running when this VI executes.
Configure SSLProvides Secure Sockets Layer (SSL) authentication for 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.
CopyCopies a file or directory from one location on a WebDAV server to another location on that WebDAV server.
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.
DeleteDeletes a file or directory on a WebDAV server.
Directory ListingReturns a list of all directories and files within the directory you specify in relative uri.
GetReturns a file or the raw binary contents of a file from a remote WebDAV server or target. You must manually select the polymorphic instance you want to use.
MoveMoves a file or directory from a location on a WebDAV server to another location on that server.
Open SessionOpens a WebDAV session and creates an associated session handle. After calling this VI, you can use the WebDAV session handle to perform other operations using the same connection. Use the Close Session VI to dispose of the session reference.
Path InfoReturns information about a single file or directory on a remote WebDAV server.
PutUploads a file to a remote WebDAV server or target. You must manually select the polymorphic instance you want to use.

 

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