Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

FTP Directory Listing VI

LabVIEW 2010 Internet Toolkit Help

Edition Date: June 2010

Part Number: 370014E-01

»View Product Info

Owning Palette: Intermediate FTP VIs

Requires: Internet Toolkit or RT Module

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.

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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit