
getFolderTree
The
getFolderTree
command returns a formatted list of folders in a specified recorder
path.
Command line structure
getFolderTree
device
path
levels
Available parameters and arguments for this command are:
Parameter
Argument
Description
device
50001
The device ID of the recorder.
192.168.0.51
The IP address of the recorder.
VN_Recorder
The user-defined name of the recorder.
path
String
Example: /folder1
The path from which the walk command is
processed.
levels
1 to 10
Level of folder depth to which the walk
function searches. If a level number is not
specified, the maximum of 10 is selected.
For the following examples:
VNR 100:
Name =
100_Device1
, ID =
10001
, IP =
192.168.0.11
VNM Recorder:
Name =
5ch_Device1
, ID =
50001
, IP =
192.168.0.51
Example 1 - Return a list of folders from the root recording directory of a VNR 100.
getFolderTree
10001
path=
/
levels=
1
]
Returns:
[["/",["folder1","folder2","folder3"]]]
Example 2 - Return a list of the folders in two levels of directories from the root of a
VNM Recorder.
getFolderTree
50001
path=
/
levels=
2
]
Returns:
[["/",["folderA","folderB","folderC"]],["/
folderA",[]],["/folderB,[]],["/folderC",[]]]
Stat
The
Stat
command returns attributes for the selected recording.
Command line structure
stat
device
'recording
name'
path
Available parameters and arguments for this command are:
Parameter
Argument
Description
device
50001
The device ID of the recorder.
192.168.0.51
The IP address of the recorder.
VN_Recorder
The user-defined name of the recorder.
recording
name
'
test_file_1.rec
'
The file name of the recording. This can be
found using the 'getFilesInFolder' command.
path
String
Example: /folder1
The path from which the stat command is
processed.
VNM EC 200 • Reference Information
208
Summary of Contents for VNM EC 200
Page 6: ......