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

FTP Get Path Info VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Intermediate FTP VIs

Requires: Base Development System

Returns information about a path on the FTP server.

This VI uses the LIST command to interpret the information as a UNIX ls command output. If the VI fails, only the name in the path info cluster is 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.
remote path is a path to a file on the FTP server. The remote path input supports Windows-style file paths such as c:\ni-rt\system\a.txt and UNIX-style file paths such as /ni-rt/system/a.txt. If you need to specify a drive letter on UNIX-style paths, the input supports paths such as /c:/ni-rt/system/a.txt.
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.
path info is a cluster containing information about the following directory entries.
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.


 Was this document helpful?  submit
  Helpful Not Helpful