
MLC 104 IP Plus Series • SIS
™
Pr
ogramming and Contr
ol
92
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
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 embedded web pages of the MLC, 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 time
n
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
|
2.eml Sat, 15 Dec 2007 02:04:40 GMT 117
]
0.evt Tue, 30 Apr 2013 16:34:07 GMT 11371
]
1.eir Tue, 30 Apr 2013 16:34:07 GMT 4783
]
1.eml Tue, 30 Apr 2013 16:34:12 GMT 219
]
2.evt Tue, 30 Apr 2013 16:34:12 GMT 22139
]
3.evt Tue, 30 Apr 2013 16:34:12 GMT 16258
]
97.evt Tue, 30 Apr 2013 16:34:12 GMT 2781
]
98.evt Tue, 30 Apr 2013 16:34:12 GMT 6027
]
99.evt Tue, 30 Apr 2013 16:34:14 GMT 4435
]
def.eml Tue, 30 Apr 2013 16:34:14 GMT 95
]
index.html Tue, 30 Apr 2013 16:34:14 GMT 1176
]
resources.cdc Tue, 30 Apr 2013 16:34:14 GMT 4575
]
3.eml Wed, 21 Nov 2007 22:05:12 GMT 146
]
6175232 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.
Summary of Contents for MLC 104 IP Plus Series
Page 6: ......