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.


icon

Inputs/Outputs

  • ci32.png reply

    reply is the reply code that an FTP command returns.

  • cenum.png 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:

    0unknown
    1100 + Prelim
    2200 +
    3300 + Intermed
    4400 – Transient
    5500 – Permanent
  • ienum.png class

    class contains the class (first digit) of the reply.

    The class can be any of the following values:

    0unknown
    1100 + Prelim
    2200 +
    3300 + Intermed
    4400 – Transient
    5500 – Permanent
  • iu16.png sub class

    sub class contains the subclass (second digit) of the reply.

    The sub class can be any of the following values:

    0Syntax
    1Information
    2Connection
    3Authentication
    4Unspecified
    5File System
    6Unknown
  • ii32.png code

    code contains the code (third digit) of the reply.

  • ibool.png match

    match returns TRUE if class is the same as expected class.