SFTP Open Dir.vi¶
Open a directory for reading.
The process required to list the contents of a directory goes as follows:
Call SFTP Open Dir.vi to open the directory for reading.
Call SFTP Read Dir.vi repeatedly until it returns an empty filename. An empty filename indicates that all files have been read.
Call SFTP Close Dir.vi to close the directory.
This is a low-level VI whose usage is not typical. For a quick 1-step directory listing function, use SFTP EZ Directory Listing.vi.
SSH session refnum.
Remote filesystem path to requested directory. This can be a relative path or an absolute path.
Incoming error from previous VI call. Is passed through to error out.
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.
Amount of time in milliseconds to wait for a response from remote host before a timeout error occurs.