CMSV6Help Center
/
839 DOCS · 213 VIDEOS中文

The device actively uploads files and the server downloads the notification.

Author 谢周轩Updated 2025-10-16 15:01:44Doc ID 2383124 words · 1 min readView original ↗

1. function description

The device calls the TTXNET_AddAlarmInfo notification to upload files. After receiving the notification, the server will actively download the video files on the device.

2. Docking instructions

2.1 file to start uploading

// @ szFile: absolute path of the file name
// @ isServer: if true means the server performs the download, if false means the client performs the download
virtual void DoFileUploadBegin(const char* szFile, bool isServer) { }

2.2 file upload completed

// @ szFile: absolute path of the file name
// @ isServer: if true means the server performs the download, if false means the client performs the download
virtual void DoFileUploadFinishEx(const char* szFile, bool isServer) { }

3. Precautions

(Overloading the above two interfaces, the response message notification)

Source help.cmsv7.com
839 documents · 213 videos · docs.alwaycare.com