See also, Ftp: ftp status and settings, Function – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 569: Command format, Response format

Advertising
background image

555

Query Command Library

See also

$PASHS,REC

$PASHS,FIL,D

$PASHS,MEM

FTP: FTP Status and Settings

Function

This command is used to query the status and settings of the
FTP server used to upload files from the receiver.

Command Format

Syntax

$PASHQ,FTP[*cc]

Parameters

None.

Response format

Syntax

$PASHR,FTP,s1,d2,d3,s4,d5,d6,ADD=s7,PRT=d8,LGN=s9,PWD=s10,
PTH=s11,IPP=c12*cc

Parameters

Example

$PASHQ,FTP*35

Parameter

Description

Range

s1

File transfer status:
• NONE: no transfer to FTP
• PUT: File being uploaded to FTP

NONE, PUT

d2

Number of files to be transferred

0-255

d3

Number of files already transferred

0-255

s4

Name of the file being transferred

255 characters max.

d5

Size, in bytes, of the file being transferred

0-134217728

d6

Percentage of data already transferred for
the file transfer currently in progress.

0-100

ADD=s7

FTP server IP address or host name

PRT=d8

FTP server port number

0-65535

LGN=s9

FTP server login

32 characters max.

PWD=s10 FTP server password

32 characters max.

PTH=s11 Path used on the FTP server

255 characters max.

IPP=c12

Internet port used for FTP transfer:
• E: Internal modem
• P: Ethernet cable

E, P

*cc

Checksum

*00-*FF

Advertising