Destroy VI

Owning Palette: SFTP

Requires: LIBSSH2

Deallocates, or frees, the memory allocated for the libssh2lv shared library SFTP struct represented by this SFTP 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.

Destroy VI

Session

Destroys the SFTP object and returns the Session object that was used to originally create it.

Session

iToolkit_lvlib_SessionlvclassSession represents the same Session object that was used to create the SFTP libssh2 library struct from SFTP.
cToolkit_lvlib_SFTPlvclassSFTP represents a libssh2lv shared library SFTP struct.
ierrcodeclstError Out contains error information. This provides standard error out functionality.

Right-click the Error Out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cerrcodeclstError In describes error conditions that occur before this node runs. This input provides standard error in functionality.

Right-click the Error In indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.