https://ixnfo.com/en/configuring-video-recording-to-an-ftp-server-from-ip-cameras-and-dahua-dvrs.html
Configuring video recording to an FTP server from IP cameras and Dahua DVRs