FTP Check Reply VI
- Updated2025-07-30
- 2 minute(s) read
Converts an FTP reply into a class (first digit), sub-class (second digit), and code (third digit). The VI also determines whether the reply is within an expected class.
(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
reply
—
reply is the reply code that an FTP command returns.
expected class
—
expected class is the class that reply is expected to be in. The default expected class is 500 – Permanent. The expected class can be any of the following values:
class
—
class contains the class (first digit) of the reply. The class can be any of the following values:
sub class
—
sub class contains the subclass (second digit) of the reply. The sub class can be any of the following values:
code
—
code contains the code (third digit) of the reply.
match
—
match returns TRUE if class is the same as expected class. |
reply
—
expected class
—
class
—
sub class
—
code
—
match
—