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

Simple Put VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: WebDAV VIs

Requires: Full Development System

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.

Use the pull-down menu to select an instance of this VI.

Simple Put Buffer

Note Note  This instance uploads the raw binary string contents you specify in data to the file you specify in remote file uri on the WebDAV server.

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 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.
remote 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. remote file uri also specifies the port and whether to use Secure Sockets Layer (SSL). Format remote file uri as http[s]://hostname[:port]/directory/subdirectory/filename. Use https to connect using SSL, which provides added security. Use http to specify a non-SSL connection. If you do not specify a port number, the default is to use 80 for non-SSL and 443 for SSL.
data specifies the contents of the file in raw binary data format.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out contains error information. This output provides standard error out functionality.

Simple Put File

Note Note  This instance uploads the file you specify in remote file uri to the WebDAV server.

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 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 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 SSL. Format file uri as http[s]://hostname[:port]/directory/subdirectory/filename. Use https to connect using Secure Sockets Layer (SSL), which provides added security. Use http to specify a non-SSL connection. If you do not specify a port number, the default is to use 80 for non-SSL and 443 for SSL.
local file path is the local path to the file you want to upload.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
local file path out returns the local path to the directory where the file you upload is located.
error out contains error information. This output provides standard error out functionality.

Simple Put Multiple Buffers

Note Note  This instance uploads the raw binary contents of multiple files. This instance attempts to use the same connection for the entire set of uploads. This instance also attempts to upload all files you specify, even if LabVIEW encounters an error while uploading one of them. error out returns an error if any upload fails, but all files that LabVIEW successfully uploads still appear on the server.

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 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.
host uri specifies the host name or IP address of the host or target running the WebDAV server. A uniform resource identifier (URI) can be a uniform resource locator (URL), a uniform resource name (URN), or both. host uri also specifies the port and whether to use SSL. Format host uri as http[s]://hostname[:port]/. Use https to connect using Secure Sockets Layer (SSL), which provides added security. Use http to specify a non-SSL connection. If you do not specify a port number, the default is to use 80 for non-SSL and 443 for SSL.
file data specifications specifies the file URI and the data you want to upload.
file uri specifies the URI fragment that follows the host portion of the full URI of the file. For example, format file uri as directory/subdirectory/filename.
data specifies the contents of the file in raw binary data format.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out contains error information. This output provides standard error out functionality.

Simple Put Multiple Files

Note Note  This instance uploads multiple files. This instance attempts to use the same connection for the entire set of uploads. This instance also attempts to upload all files you specify, even if LabVIEW encounters an error while uploading one of them. error out returns an error if any upload fails, but all files that LabVIEW successfully uploads still appear on the server.

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 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.
host uri specifies the host name or IP address of the host or target running the WebDAV server. A uniform resource identifier (URI) can be a uniform resource locator (URL), a uniform resource name (URN), or both. host uri also specifies the port and whether to use SSL. Format host uri as http[s]://hostname[:port]/. Use https to connect using Secure Sockets Layer (SSL), which provides added security. Use http to specify a non-SSL connection. If you do not specify a port number, the default is to use 80 for non-SSL and 443 for SSL.
file specifications specifies the file URI and the local path to the directory where the files you want to upload are located.
file uri specifies the URI fragment that follows the host portion of the full URI of the file. For example, format file uri as directory/subdirectory/filename.
local file path is the local path to the file you want to upload.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out contains error information. This output provides standard error out functionality.

 

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