SFTP Directory Controls and VIs
Owning Palette: Toolkit
Represents a SFTP directory, a.k.a. folder.
|Utility||Groups related files into a folder|
|Close||Deallocates, or frees, the memory allocated for the libssh2lv shared library SFTP Directory struct represented by this SFTP Directory object. After this is called, the object can no longer be used in the application without causing a segmentation fault, i.e. crashing LabVIEW. This VI must be called to avoid leaking memory or running Out-of-Memory (OOM) on resource-constrained systems.|
|Open||Creates a new SFTP Directory object that represents a libssh2lv shared library SFTP Directory struct. This VI must be called, or executed, before using any other SFTP Attributes-related VIs. This VI allocates memory within the libssh2lv shared library that must be explicitly deallocated, or freed, at the end of the application using the Close VI to avoid memory leaks or running Out-of-Memory (OOM) on a resource contrained system. A SFTP Directory object represents an existing directory, a.k.a. folder, on a remote SFTP filesystem.|
|Read||Reads a single remote SFTP filesystem entry from the remote SFTP directory, including the remote filesystem entry's file status, a.k.a. attributes. Typically, this is used within a While loop to obtain an array of remote SFTP files contained within the remote SFTP directory, where the While loop is terminated when the end of the directory is TRUE.|