FTP Directory Listing VI

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: Intermediate FTP VIs

Requires: Base Development System

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.

active specifies whether the data connection is active or passive. The default is TRUE, which specifies an active connection.
ftp session contains the refnum to an FTP session.
directory path is the path to a directory on the FTP server.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
ftp session out returns the same value as ftp session.
reply code is the FTP status code in the reply string.
reply string is the reply that the FTP server returns.
error out contains error information. This output provides standard error out functionality.
dir list contains information about directory entries, such as the entry name, modification date, size, and type.
type is the type of entry. unknown, file, dir, link.
permissions contains the UNIX permissions for the entry.
owner is the UNIX owner name of the entry.
group is the UNIX group name of the entry.
size is the size, in bytes, of the entry.
date is the modification date of the entry.
name is the name of the entry.
link name is the path to which this entry is linked.


Not Helpful