Help. Not work API request for archive on Dahua DHI-NVR5216-4KS2.

John_Di

n3wb
Joined
Mar 17, 2021
Messages
1
Reaction score
0
Location
Russia
Good day.
Need help with API requests for Dahua DHI-NVR5216-4KS2 recorder.
Hardware version: V1.0
Web version: V3.2.7.132796
ONVIF version: 19.06 (2.6.1.869049)
ONVIF client version: V2.4.1
System version: 4.001.0000003.2,
Build date: 2020-10-10
Basic security version: V2.1

Problem:
Downloading a file from the archive at a specified time interval does not work on the API request. What am I doing wrong? How to fix it?

I do:
I am sending a request with a link (indicated below) to the DVR. The DVR asks for a username and password. I enter the credentials of the admin. Downloads the file "loadfile.cgi" with a weight of 0 bytes.
If you try through SSSH - authorization error (401) while downloading.

Use API request:
http: / [IP-address] /cgi-bin/loadfile.cgi?action=startLoad&channel= [Channel_Number] Channel & startTime = [Start_Date]% 20 [Start_Time] & endTime = [End_Date]% 20 [End_Time]

I also tried the firmware:
4.001.0000003.1, Build date: 2020-08-13
4.001.0000006.0.R, Build date: 2021-02-08

The result is the same everywhere - the file "loadfile.cgi" weighing 0 bytes.

This API request works exactly on DVRs of the same year (5th version) with Basic security version: V2.0.
 
Top