Hello!
Second post for one day But, please, don't take this as SPAM, I intentionally create a second thread for this problem, because it's not related to the first one.
Earlier today, I asked here about setting up an FTP server, because I've had some problems with the password. Problem solved, but now I am trying to setup a schedule for a periodic snapshots, that are to be uploaded to an FTP server. Here's what I've done:
1. Setup the FTP server (vsftpd) on a computer in the same network (ubuntu server 20.04).
2. Connected the Camera to the FTP server and tested it on both ends: When clicking the "test" button, the camera returns: "FTP server test success." and the server's logs (
So, I assume everything is setup correctly.
3. I set up the snapshot schedule (Menu Item "Storage" -> Submenu Item "Schedule" -> Tab "Snapshot") and enabled all types ("General", "Event", "Alarm") for all days from "00:00:00" to "23:59:59" (I will fix this schedule to a more reasonable one, leaving only "General"/Every day/08:00:00 - 18:00:00, once I make sure it all works).
4. I set up the individual snapshot in Menu Item "Camera" -> Submenu item "Video" -> Tab "Snapshot" with the following parameters:
Snapshot type: General
Image size: 720p (1280*720)
Quality: 6 (Best)
Interval: Customized - 10s
My logic tells me that with these settings the camera has to take a snapshot every 10 seconds, every day, all day long, and send it to the FTP server. However, when I take a look at the server's directory where the images must be kept, I see only one directory with the name of "6J0327APAGD3A90" (which is my camera's default name, I haven't changed it), which contains a subdirectory with the name of "DVRWorkDirectory", which is empty. Also when I
Camera: Dahua IPC-HFW1435S-W-S2
Thank you!
Second post for one day But, please, don't take this as SPAM, I intentionally create a second thread for this problem, because it's not related to the first one.
Earlier today, I asked here about setting up an FTP server, because I've had some problems with the password. Problem solved, but now I am trying to setup a schedule for a periodic snapshots, that are to be uploaded to an FTP server. Here's what I've done:
1. Setup the FTP server (vsftpd) on a computer in the same network (ubuntu server 20.04).
2. Connected the Camera to the FTP server and tested it on both ends: When clicking the "test" button, the camera returns: "FTP server test success." and the server's logs (
tail -f /var/log/vsftpd.log
) look like this:
Code:
Thu Mar 4 13:23:04 2021 [pid 106880] CONNECT: Client "::ffff:192.168.1.105"
Thu Mar 4 13:23:04 2021 [pid 106879] [cam1] OK LOGIN: Client "::ffff:192.168.1.105"
Thu Mar 4 13:23:05 2021 [pid 106881] [cam1] OK MKDIR: Client "::ffff:192.168.1.105", "/timelapse/FTP_TEST"
Thu Mar 4 13:23:05 2021 [pid 106881] [cam1] OK MKDIR: Client "::ffff:192.168.1.105", "/timelapse/FTP_TEST/1614871385_42958074590"
Thu Mar 4 13:23:05 2021 [pid 106881] [cam1] OK UPLOAD: Client "::ffff:192.168.1.105", "/timelapse/FTP_TEST/1614871385_42958074590/ftp_test.txt", 4 bytes, 1.26Kbyte/sec
Thu Mar 4 13:23:05 2021 [pid 106881] [cam1] OK DELETE: Client "::ffff:192.168.1.105", "/timelapse/FTP_TEST/1614871385_42958074590/ftp_test.txt"
Thu Mar 4 13:23:05 2021 [pid 106881] [cam1] OK RMDIR: Client "::ffff:192.168.1.105", "/timelapse/FTP_TEST/1614871385_42958074590"
Thu Mar 4 13:23:05 2021 [pid 106881] [cam1] OK RMDIR: Client "::ffff:192.168.1.105", "/timelapse/FTP_TEST/"
3. I set up the snapshot schedule (Menu Item "Storage" -> Submenu Item "Schedule" -> Tab "Snapshot") and enabled all types ("General", "Event", "Alarm") for all days from "00:00:00" to "23:59:59" (I will fix this schedule to a more reasonable one, leaving only "General"/Every day/08:00:00 - 18:00:00, once I make sure it all works).
4. I set up the individual snapshot in Menu Item "Camera" -> Submenu item "Video" -> Tab "Snapshot" with the following parameters:
Snapshot type: General
Image size: 720p (1280*720)
Quality: 6 (Best)
Interval: Customized - 10s
My logic tells me that with these settings the camera has to take a snapshot every 10 seconds, every day, all day long, and send it to the FTP server. However, when I take a look at the server's directory where the images must be kept, I see only one directory with the name of "6J0327APAGD3A90" (which is my camera's default name, I haven't changed it), which contains a subdirectory with the name of "DVRWorkDirectory", which is empty. Also when I
tail -f /var/log/vsftpd.log
no additional logs are appearing. What am I doing wrong?Camera: Dahua IPC-HFW1435S-W-S2
Thank you!