DISK_REMOVE_OLD_FILES

 

Description

Remove files counted from the first recording time form the local storage media.

Input Argument

n
where
n: the number of files from the first recording time. These files will be removed.
If it is 0, all recorded files in the local storage media will be removed. Note that the file which firmware has been not closed will not be removed.

For example:
Assume few files are in the media and listed by the recorded time.
1. video-20110928-124035.raw which its recorded time is 2011/09/28 12:40:35
2. video-20110928-124040.raw which its recorded time is 2011/09/28 12:40:40
3. video-20110928-124040-DI1-00.raw which its recorded time is 2011/09/28 12:40:40
4. video-20110928-124045.raw which its recorded time is 2011/09/28 12:40:45

The video-20110928-124035.raw and video-20110928-124040.raw will be removed when device receives DISK_REMOVE_OLD_FILES=2.
The video-20110928-124035.raw, video-20110928-124040.raw and video-20110928-124040-DI1-00.raw will be removed when device receives DISK_REMOVE_OLD_FILES=3.
All files will be removed when device receives DISK_REMOVE_OLD_FILES=0.

Attribute

Return of Message

OK
or
ERROR: internal error. ....

Applicability

Platform Devices Supported Firmware Version
PlatformT Camera, Video server with local storage A1D-310-V4.12 and later
PlatformK Camera A1D-311-V5.08.06 and later
PlatformA1 Camera A1D-500-V6.02 and later

Statue

Valid

See also

DISK_GET_FILE, DISK_REMOVE_FILE, DISK_FILE_LIST, DISK_FILE_SEARCH_TIME, DISK_FILE_SEARCH_EVENT

Example

http://ip:port/cgi-bin/system?USER=admin&PWD=123456&DISK_REMOVE_OLD_FILES=0
or
http://ip:port/cgi-bin/cmd/system?DISK_REMOVE_OLD_FILES=0

Back To

HOME, SYSTEM CGI