Acquires information about the contents of a directory on an SFTP server.


icon

Inputs/Outputs

  • cNI__SFTP_lvlib_Sessionlvclass.png session in

    session in specifies the session of the SFTP server connection.

  • cstr.png remote path

    remote path specifies the path of the directory that you want to inspect on the SFTP server.

  • cerrcodeclst.png error in (no error)

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

  • ci32.png timeout (ms)

    timeout (ms) specifies the time, in milliseconds, that the VI waits before timing out. A value of –1 indicates to wait indefinitely. The default value is 30000.

  • iNI__SFTP_lvlib_Sessionlvclass.png session out

    session out returns a session that stores the configuration and state of an SFTP server connection. Use this session to refer to the SFTP server connection in subsequent VI calls.

  • i1dNI__SFTP_lvlib_File_Attributeslvclass.png files and directories

    files and directories returns an array of File Attributes objects. Use the File Attributes node on each element of the array to identify filenames and other metadata.

    This VI always populates the Name and Long Listing properties of each File Attributes element. The Name property contains the filename. The Long Listing property contains a single line summary of the file information.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.