DVS 304

Command

ASCII (Telnet)

URL Encoded (Web)

Response

Additional description

 

(host to processor)

(host to processor)

(processor to host)

 

 

 

 

 

 

File commands

 

 

 

 

Get file listing

E DF }

WDF

(See below.)

Retrieve a list of files stored in the DVS 304.

 

 

 

 

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 remains.

Unit Telnet text responses: Unit Web 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 remaining, Bytes left’

Stream files via port 80

 

 

Load file to user flash memory

Use a POST command on port 80 followed by the delimited data to be written to the flash file memory.

Retrieve file from user flash

Send a page GET command on port 80 followed by: WSF

{Responds with raw unprocessed data in file.}

memory

 

 

Example: http://192.168.254.254/mypage.html?cmd=WSF

Series • SIS

Stream files via Telnet or RS-232

Load file to user flash memory

Retrieve file from user flash memory

E + UF filesize,

{Raw unprocessed data

Upl ]

filename }

in file up to filesize}

 

E filename SF }

1B filename 52 46 0D

{Responds with raw unprocessed data in file + 1 byte checksum.}

Communication and Control

Directory commands

Change/create directory

E{path}/{directory}/CJ}

W {path}/{directory}/CJ

Dir•{path}/{directory}/]

NOTE: A directory does not actually exist until a file has been copied into the path.

Move back to root directory

E / CJ}

W%2FCJ

Dir•/]

Move up one directory

E ..CJ}

W%2E%2ECJ

Dir•{path}/

 

 

 

{directory}/]

View current directory

E CJ}

WCJ

{path}/{directory}/]

52

Page 57
Image 57
Extron electronic DVS 304 manual Directory commands, File commands