FTP Open Session VI
- Updated2025-07-30
- 3 minute(s) read
Opens an FTP connection to an FTP server.
(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.

Inputs/Outputs
address
—
address is the TCP/IP address of the remote FTP server.
remote port (21)
—
remote port is the TCP/IP port at which the server listens. The default is 21, the FTP control port.
timeout ms (60000)
—
timeout ms specifies the time, in milliseconds, that the VI waits when another VI makes a request on the same session handle before it returns an error. The default is 60,000 ms, or 1 minute.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
local port
—
local port is the local TCP/IP port used by the connection.
ftp session
—
ftp session is an FTP session refnum that uniquely identifies the FTP connection.
reply code
—
reply code is the FTP status code in the reply string.
reply string
—
reply string is the reply that the FTP server returns.
error out
—
error out contains error information. This output provides standard error out functionality. |
address
—
remote port (21)
—
timeout ms (60000)
—
error in (no error)
—
ftp session
—
reply code
—
reply string
—
error out
—