Uploads a file or multiple files to a remote WebDAV server or target. You must manually select the polymorphic instance you want to use.

This VI closes the connection to the WebDAV server after LabVIEW uploads the file or files. If you have many files to upload or multiple file operations to complete, consider using the Open Session VI and the Put VI or the Asynchronous Put VI.


icon

Inputs/Outputs

  • cstr.png password

    password is the password for the WebDAV server, if required. For example, when connecting to a real-time target, use the same password as when connecting with NI Web-based Configuration & Monitoring.

  • cstr.png username

    username is the username with which to access the WebDAV server, if required. For example, when connecting to a real-time target, use the same username as when connecting with NI Web-based Configuration & Monitoring.

  • cstr.png file uri

    file uri specifies the full uniform resource indicator (URI) of the file on the host or the target running the WebDAV server. A URI can be a uniform resource locator (URL), a uniform resource name (URN), or both. file uri also specifies the port and whether to use TLS/SSL. Format file uri as http[s]://hostname[:port]/directory/subdirectory/filename. Use https to connect using Transport Layer Security (TLS), formerly known as Secure Sockets Layer (SSL), which provides added security. Use http to specify a non-TLS/SSL connection. If you do not specify a port number, the default is to use 80 for non-TLS/SSL and 443 for TLS/SSL.

  • cpath.png local file path

    local file path is the local path to the file you want to upload.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ipath.png local file path out

    local file path out returns the local path to the directory where the file you upload is located.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.