4-19
IPL 250 • SIS Programming and Control
Command/response table for SIS commands (continued)
Command ASCII (Telnet)
(host to IPL) URL Encoded (Web)
(host to IPL) Response
(IPL to host) Additional description
List files from the current
directory E
DF}W DF|[lename1]•[day,datetimeofupload]GMT•[lesize1inbytes]]
[lename2]•[day,datetimeofupload]GMT•[lesize2inbytes]]
[lename3]•[day,datetimeofupload]GMT•[lesize3inbytes]]
…
[filename n]•[day,datetimeofupload]GMT•[lesizen in bytes]]
[spaceremaining(to7-digits)]•BytesLeft]]
Retrieve a list of files stored in the controller.
Each line of the response lists a different
filename and its corresponding file size. The
last line of the response indicates how much
available file space there is.
When working with the IPL 250’s embedded Web pages, the response visible in a JavaScript™ server-side include (inserted between <script> </script> 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 2005 02:03:07 GMT 42233]
1.eml Tue, 01 Mar 2005 02:03:34 GMT 200]
2.eml Tue, 01 Mar 2005 02:03:34 GMT 300]
2.eir Tue, 01 Mar 2005 02:03:34 GMT 1683]
6.evt Tue, 01 Mar 2005 02:03:36 GMT 17956]
4.eir Tue, 01 Mar 2005 02:03:47 GMT 6849]
IPLmain.sc Tue, 01 Mar 2005 02:03:52 GMT 8515]
0.evt Tue, 01 Mar 2005 02:03:56 GMT 34413]
99.eml Tue, 01 Mar 2005 02:04:19 GMT 178]
buttons.xml Tue, 01 Mar 2005 02:04:19 GMT 17214]
IPL.cfg Wed, 16 Mar 2005 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 filenames for files
within the subdirectories.