
WindoWall Pro Series • Remote Configuration and Control 49
Command
ASCII (Telnet)
(Host to Processor)
URL Encoded (Web)
(Host to Processor)
Response
(Processor to Host)
Additional Description
File Commands
List files from
current directory
E
DF
}
W DF
|
(See below.) Retrieve a list of files stored in
the WindoWall Pro
List files from
current directory
and below
E
LF
}
W LF
|
(See below.) Each line of the response lists
a different file name and its
corresponding file size. The
last line indicates remaining
available file space.
Unit web responses (HTML sample code):
var le – new array ():
le [1] = ‘lename1, date1, lesize1’;
le [2] = ‘lename2, date2, lesize2’;
le [3] = ‘lename3, date3, lesize3’;
...
le [n] = ‘lename n, date n, lesize n’;
le [n+1] = ‘lename n+1, date n+1,
lesize n+1’;
Unit Telnet text responses:
lename x
•date/time•length
]
lename x•date/time•length
]
lename x•date/time•length
]
lename x•date/time•length
]
...
space_remaining•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 from
user flash memory
Send a page GET on port 80 followed by: WSF
|
Responds with raw unprocessed data in file.
Example
http://192.168.254.254/mypage.html?cmd=WSF
|
Stream Files via Telnet, RS-232, or RS-422
Load file to user
flash memory
E
+UF {lesize}, {lename}
}
{Raw unprocessed data in le up to lesize}
Upl
]
Retrieve file from
user flash memory
E
lename SF
}
W {lename} SF
|
Responds with 4 bytes of file size + raw
unprocessed data in file.
Directory Commands
Change or create
directory
E
{path} / {directory} / CJ
}
W {path} / {directory} / CJ
|
Dir•{path} / {directory} /
]
NOTE: A directory does not exist until a file has been copied into the path.
Move back to root
directory
E
/ CJ
}
W %2F CJ
|
Dir•/
]
Move up one
directory
E
.. CJ
}
W %2E %2E CJ
|
Dir•{path} / {directory} /
]
View current
directory
E
CJ
}
W CJ
|
{path} / {directory} /
]
Kommentare zu diesen Handbüchern