Copies a list of files, saving them on the local machine or returning their contents.

(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.

  • c1dcclst.png file specifications

    file specifications contains the FTP configuration for file transfers.

  • cstr.png remote path

    remote path is a path to a file on the FTP server. The remote path input supports Windows-like file paths such as c:\ni-rt\system\a.txt and UNIX-like file paths such as /ni-rt/system/a.txt. If you need to specify a drive letter on UNIX-like paths, the input supports paths such as /c:/ni-rt/system/a.txt.

  • cpath.png local path

    local path is the path to the location where you store the local file. If you do not wire local path, a file dialog box prompts you for a location.

  • cbool.png binary

    binary specifies whether to transfer data in binary or ASCII mode. The default is FALSE, in which the VI transfers data in ASCII mode.

  • 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.

  • i1derrcodeclst.png file errors

    file errors is an array of error clusters containing file-related errors, such as invalid remote path and file access permission denied.

  • i1dstr.png data

    data is an array of strings that contains the contents of the files.

  • ierrcodeclst.png error out

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