Operating instructions

4-25
MLC 104 Plus Series • SIS Programming and Control
PRELIMINARY
Command/response table for SIS commands (continued)
Command ASCII (Telnet)
(host to MLC)
URL Encoded (Web)
(host to MLC)
Response
(MLC to host)
Additional description
Erase the current directory and
its subdirectories
24,28
E
//EF
}
W %2F %2F EF
|
Ddl
]
List files from the current
directory
E
DF
}
W DF
|
[lename1]•[day,datetimeofupload]GMT•[lesize1inbytes]
]
[lename2]•[day,datetimeofupload]GMT•[lesize2inbytes]
]
[lename3]•[day,datetimeofupload]GMT•[lesize3inbytes]
]
[filename n
]•[day,datetimeofupload]GMT•[le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
filename and its corresponding file size. The
last line of the response indicates how much
available file space there is.
When working with the MLC’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
]
MLCmain.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
]
MLC.cfg Wed, 16 Mar 2005 21:34:45 GMT 7188
]
6568448 Bytes Left
]]