Preliminar y – Extron Electronics System 5 IP Series User Guide User Manual
Page 79
5-23
System 5 IP • SIS
™
Programming and Control
PRELIMINAR
Y
Command/r
esponse table for SIS commands (continued)
Command
ASCII
(T
elnet)
URL Encoded (W
eb)
Response
Additional description
(host to switcher)
(host to switcher)
(switcher to host)
File listing and str
eaming commands
Get a file listing fr
om the current dir
ectory
Esc
DF
WDF
|
T
elnet text response:
[filename 1]• [day
, date time] GMT • [file size 1]
[filename 2]• [day
, date time] GMT • [file size 2]
[filename 3]• [day
, date time] GMT • [file size 3]
…
[filename n]• [day
, date time] GMT • [file size n]
[space r
emaining (to 7-digits)] • Bytes Left
W
eb/HTML
response:
var file - new
Array ();
file [1] = ‘
filename1, date1, filesize1’;
file [2] = ‘
filename2, date2, filesize2’;
file [3] = ‘
filename3, date3, filesize3’
;
...
file [n] = ‘
filename n, date n, filesize n’
;
file [n+1] = ‘
space r
emaining,
Bytes Left
’
Retrieve a list of files stor
ed in the
System 5 IP
switcher
. Each line of the
response lists a dif
fer
ent filename and its
corr
esponding file size. The last line of the
response indicates how much available file
space ther
e is.
Example:
Esc
DF
WDF
|
1.eml Fri, 08 Jan 2004 02:26:06 GMT 206
2.eml Fri, 08 Jan 2004 02:26:08 GMT 317
99.eml Fri, 08 Jan 2004 02:26:1
1 GMT 171
1.eir Fri, 08 Jan 2004 02:26:13 GMT 2761
2.eir Fri, 08 Jan 2004 02:26:17 GMT 2609
3.eir Fri, 08 Jan 2004 02:26:20 GMT 865
4.eir Fri, 08 Jan 2004 02:26:22 GMT 1941
Sys5main.sc Fri, 08 Jan 2004 02:26:25 GMT 9150
0.evt Fri, 08 Jan 2004 02:26:33 GMT 36929
Sys5.cfg Fri, 08 Jan 2004 02:27:02 GMT 6556
1016576 Bytes Left
File str
eaming commands should be used by advanced pr
ogrammers only
.