Command
ASCII (Telnet)
(host to intercom)
URL encoded
(host to intercom)
Response
(intercom to host)
Additional Description
Stream Files via Telnet or RS–232
Load a file to user flash
memory
E
+ UF filesize, filename
}
Upl
]
(See Notes below.)
Retrieve file from user
flash memory
E
filename SF
}
Responds with 4-bytes of
file-size + raw unprocessed
data in file
}
.
Stream Files via Port 80
Load file to user flash
memory
Use a POST on port 80 followed by the
delimited data to be written to the flash file
memory.
Retreive file from user
flash memory
Send a page GET on port 80 followed by:
WSF| e.g. http://192.168.254.254/mypage.
html?cmd=WSF|
Responds with raw
unprocessed data in file.
File handling commands
Erase user-supplied
web page and files
24,28
E
filename
EF
}
W
filename
EF|
Del
• filename
]
Erase current directory
and its files
24,28
E
/EF
}
W %2F EF|
Ddl
]
Erase current directory
and sub-directories
24,28
E
//EF
}
W %2F %2F EF|
Ddl
]
List files from the
current directory
E
DF
}
WDF|
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.
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
]]
When working with the IPI embedded web pages, the response visible in 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”;
]
NOTES:
If there is insufficient space on a box to store the sent file, response will be
Fld
]
instead of
Upl
]
to denote
failure.
Updating firmware can be done by loading an .S19 file with this command. If the box determines that the .S19 file is
not intended for this product, the
Upl
]
response is followed by an
Fwm
]
response (Firmware mismatch).
IPI 100 and IPI 200 Series • SIS Programming and Control
49