6.6 ftptest

Use this command to send a test file to a configured FTP server that is used for the Measurements Platform feature

Options

Options and option parameters that are underlined indicate that a value must be specified for that option or parameter. For example, the ftptest command option -a has the parameter appl. The FTP registered application to be tested can be specified, as in the command ftptest -a meas. Do not enter the underlined option or parameter; enter a value for the information represented by the underlined option or parameter.

-h

This option provides help information for the command.

-a appl

This option specifies the FTP registered application to be tested.

Range:
meas
The Measurements Platform application

Example

ftptest

ftptest -h

ftptest -a meas

Dependencies

None

Notes

The ftptest command is executed through the pass command.

The specified card location must have an IP port configured to an FTP server using the ent-ftp-serv command, and the card must have its IP port configured using the chg-ip-lnk command.

Output

pass:loc=1105:cmd="ftptest-h"

or

pass:loc=1105:cmd="ftptest"

Command Accepted - Processing

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0
    pass:loc=1215:cmd="ftptest -h"
    Command entered at terminal #3.
;

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0
    PASS: Command sent to card
;

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0

    Usage: ftptest -a appl [-h]

    Options:
        -a appl   FTP client application name
        -h        Displays this message

;

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0

    FTPTEST: Command Complete

;
pass:loc=1105:cmd="ftptest -a meas"

    PASS: Command sent to card
;

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0

    FTPTEST: Command In Progress

;

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0
    FTP Interface Test
       Test Results: PASS
       Server IP:    10.25.61.71
       FTP Error:    0
       File Error:   0
       Segment:      190004a2
       Diag Msg:

    FTPTEST: Command Complete

;

This example shows the output if the wrong password is specified in the ent-ftp-serv command for the application specified in the ftptest command:

pass:loc=1215:cmd="ftptest -a meas"

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0
    PASS: Command sent to card
;

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0

    FTPTEST: Command In Progress

;

    rlghncxa03w 04-07-29 11:31:09 EST  EAGLE5 31.6.0
    FTP Interface Test
       Test Results: FAIL
       Server IP:    0.0.0.0
       FTP Error:    530
       Segment:      190004dd
       Diag Msg:     Server Connection Error

    FTPTEST: Command Complete

;