beautypg.com

Extron Electronics IPCP 505 User Guide User Manual

Page 76

background image

IPCP 505 • SIS Pr

ogramming and Contr

ol

70

Command/Response Table for SIS Commands (continued)

Command

ASCII (Telnet)

(host to IPCP)

URL Encoded (web)

(host to IPCP)

Response

(IPCP to host)

Additional description

List files from the current directory

E

DF

}

W DF

|

[filename 1]•[day, date time of upload]GMT•[file size 1 in bytes]

]

[filename 2]•[day, date time of upload]GMT•[file size 2 in bytes]

]

[filename 3]•[day, date time of upload]GMT•[file size 3 in bytes]

]


[filename n]•[day, date time of upload]GMT•[file size n in bytes]

]

[space remaining (to 7-digits)]•Bytes Left

]]

Retrieve a list of files stored in the controller.
Each line of the response lists a different file
name and its corresponding file size. The
last line of the response indicates how much
available file space there is.

When working with the IPCP 505 embedded web pages, the response visible in a JavaScript

server-side include (inserted between tags into

HTML source code) follows this structure:

var file=new Array();
file[1]=“[filename 1],[day, date time1 of upload] GMT,
[file size 1 in bytes]”;

]

file[2]=“[filename 2],[day, date time2 of upload] GMT,
[file size 2 in bytes]”;

]

file[3]=“[filename 3],[day, date time3 of upload] GMT,
[file size 3 in bytes]”;

]


file[n]=“[filename n],[day, date timen of upload] GMT,
[file size n in bytes]”;

]

file[n+1]=“[space remaining (to 7-digits)],Bytes Left”;

]]

Example (via Telnet or
HyperTerminal):

E

DF

}

W DF

|

4.evt Tue, 01 Mar 2011 02:03:07 GMT 42233

]

1.eml Tue, 01 Mar 2011 02:03:34 GMT 200

]

2.eml Tue, 01 Mar 2011 02:03:34 GMT 300

]

2.eir Tue, 01 Mar 2011 02:03:34 GMT 1683

]

6.evt Tue, 01 Mar 2011 02:03:36 GMT 17956

]

4.eir Tue, 01 Mar 2011 02:03:47 GMT 6849

]

IPCPmain.sc Tue, 01 Mar 2011 02:03:52 GMT 8515

]

0.evt Tue, 01 Mar 2011 02:03:56 GMT 34413

]

99.eml Tue, 01 Mar 2011 02:04:19 GMT 178

]

buttons.xml Tue, 01 Mar 2011 02:04:19 GMT 17214

]

IPCP.cfg Wed, 16 Mar 2011 21:34:45 GMT 7188

]

6568448 Bytes Left

]]

List files from the current directory
and its subdirectories

E

LF

}

WLF

|

(See responses to

E

DF

}

,

above.)

The response is the same except that the
path/directory precedes file names for files
within the subdirectories.