SFTP Open File.vi¶

SFTP Open File.vi connector pane
Description¶
Open a SFTP file handle.
Inputs¶
Permissions¶
Required: | No |
---|---|
Default: | 640 (octal) |
Permissions to assign to remote file if file is being created.
Remote Path¶
Required: | Yes |
---|
Path to remote file. This can be a relative path or an absolute path.
Examples: | /home/user/data/data1.txt ./data/data1.txt |
---|
SFTP Open Flags¶
Required: | Yes |
---|
Cluster of boolean flags which determine the mode in which the file will be opened.
Members:
Read
- If True
, file will be opened in read-mode.
Write
- If True
, file will be opened in write-mode.
Create
If True, file will be created if it doesn’t exist.
If Falseand the file doesn’t exist, file will not be opened
and an error will be raised.Append
If True, writes will be appended to the end of the file.
If Falsewrites occur starting at the beginning of the file.
Overwrite
If True, and the file already exists, it will be overwritten.
If Falseand the file already exists, the file will not be opened
and an error will be raised.
error in¶
Required: | No |
---|---|
Default: | No Error |
Incoming error from previous VI call. Is passed through to error out.
Warning
LabVIEW will not execute Call Library Function Node if there is an error present on the wire. Ensure that there is no error prior to calling this VI – unexpected behavior will occur.
Timeout msec¶
Required: | No |
---|---|
Default: | 5000 |
Amount of time in milliseconds to wait for a response from remote host before a timeout error occurs.