Returns a list of entries for a directory on the FTP server. The VI uses the LIST command to interpret the list as a UNIX ls command output. If the VI fails, it uses the LIST command to retrieve the list of names in the directory.

Note Only the name in the array cluster is guaranteed to be correct.

(NI Linux Real-Time) The FTP server is disabled by default, and you cannot use it in safe mode. National Instruments recommends using WebDAV as the file transfer mechanism for improved security.


icon

Inputs/Outputs

  • cbool.png active (T)

    active specifies whether the data connection is active or passive. The default is TRUE, which specifies an active connection.

  • cncrn.png ftp session

    ftp session contains the refnum to an FTP session.

  • cstr.png directory path

    directory path is the path to a directory on the FTP 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.

  • incrn.png ftp session out

    ftp session out returns the same value as ftp session.

  • ii32.png reply code

    reply code is the FTP status code in the reply string.

  • istr.png reply string

    reply string is the reply that the FTP server returns.

  • ierrcodeclst.png error out

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

  • i1dcclst.png dir list

    dir list contains information about directory entries, such as the entry name, modification date, size, and type.

  • ienum.png type

    type is the type of entry.

    unknown, file, dir, link.

  • istr.png permissions

    permissions contains the UNIX permissions for the entry.

  • istr.png owner

    owner is the UNIX owner name of the entry.

  • istr.png group

    group is the UNIX group name of the entry.

  • ii32.png size

    size is the size, in bytes, of the entry.

  • istr.png date

    date is the modification date of the entry.

  • istr.png name

    name is the name of the entry.

  • istr.png link name