Extron Electronics MGP 462D User Manual
Page 77

4-29
MGP 462 • Software Configuration and Control
Command/r
esponse table for IP control port commands (continued)
Command
ASCII (T
elnet)
URL Enco
ded (W
e
b
)
Response
Additional
description
(host to pr
ocessor)
(host to pr
ocessor)
(processor to host)
File commands
Read Direct
Access port map
Esc
MD
WMD
|
{port#}
Get listing
Esc
DF
WDF
|
(See
below
.)
Retrieve a list of files stor
ed in the
MGP 462. Each line of the
response
lists a dif
fers t file name
and its corresponding file size.
The last line of the response
indicates how much available file
space remains.
Unit T
elnet text responses:
Unit
W
eb responses:
filename x • date/time * length
var file - new
Array ():
filename x • date/time * length
file [1] = ‘filename 1, date 1, filesize 1’;
filename x • date/time * length
file [2] = ‘filename 2, date 2, filesize 2’;
filename x • date/time * length
file [3] = ‘filename 3, date 3, filesize 3’;
...
...
space_remaining • Bytes left
file [n] = ‘filename n, date n, filesize n’;
file [n + 1] = ‘space r
emaining, Bytes left’
Stream files via port 80
Load file to user flash memory
Use POST on port 80 followed by the delimited data to be written to the flash file memory
.
Retrieve file fr
om user flash memory
Send a page GET on port 80 followed by: WSF
|
{Responds with raw unpr
ocessed data in file.}
Example:
http://192.168.254.254/mypage.html?cmd=WSF
|
Stream files via T
elnet or RS-232
Load file to user flash memory
Esc
+ UF filesize, filename
{Raw unpr
ocessed data in file up to filesize}
Upl
Retrieve file fr
om user flash memory
Esc
filename SF
1B filename 52 46 0D
{Responds with raw unpr
ocessed data in file + 1 byte checksum.}