beautypg.com

Function, Command format, Response format – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 667

background image

653

Query Command Library

UPL,LST: Listing the Firmware Upgrades Available on FTP

Function

This command is used to list the upgrade files and/or upgrade
directories found on the FTP server.

Command Format

Syntax

$PASHQ,UPL,LST[,s][*cc]

Parameters

Response format

Syntax

$PASHR,UPL,LST,d1,d2,s3,s4,d5,s6,s7*cc

Parameters

Example

$PASHQ,UPL,LST*59
$PASHR,UPL,LST,4,0,FIL,pf800_upgrade_V227Ga21.tar.bz2,1769897,
14032009,130850*76
$PASHR,UPL,LST,4,1,FIL,pf800_upgrade_V226Ga21.tar.bz2,1769876,
10032009,110952*7C
$PASHR,UPL,LST,4,2,FIL,pf800_upgrade_V225Ga21.tar.bz2,1769787,01032
009,181856*70

Parameter

Description

Range

s

Path that extends the one defined with
$PASHS,UPL,PAR.
If s is omitted, the command lists the con-
tent of the default directory (i.e. as defined
with $PASHS,UPL,PAR).

255 characters max.

*cc

Optional checksum

*00-*FF

Parameter

Description

Range

d1

Number of listed files or subdirectories

d2

Index of file or subdirectory

s3

Indicates whether the listed item is a file or a
directory:
• DIR: Directory
• FIL: File

DIR,FIL

s4

Name of the file or subdirectory

255 characters max.

d5

Size, in bytes

0-134217728

s6

Date of creation (ddmmyyyy)

s7

Time of creation (hhmmss)

000000-235959

*cc

Optional checksum

*00-*FF