Simple Put File VI
- Updated2025-07-30
- 3 minute(s) read
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.

Inputs/Outputs
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.
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.
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.
local file path
—
local file path is the local path to the file you want to upload.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
local file path out
—
local file path out returns the local path to the directory where the file you upload is located.
error out
—
error out contains error information. This output provides standard error out functionality. |
password
—
local file path
—
error in (no error)
—
local file path out
—
error out
—