figueroa 0 Posted March 23, 2016 (edited) I try to configure the camera for record in ftp but it don't work. only create the directory and the file DVRWorkDirectory but not records Version Device Type IPC-HFW4300S-V2 Software Version 2.420.0004.0.R, build : 2014-11-03 WEB Version 3.2.1.229556 ONVIF Version 2.4.1 Record Schedule All days in green (General) Destination FTP Server Address 192.168.1.3 Port 21 User Name secam01 Remote Directory secam01 Reecord Control Pack Duration 8 Pre-event Record 5 Disk Full Overwrite Record Mode auto Record Stream Main Stream Directory root@SERVER:/home/secam01/CAM01# ll total 4 -rw-rw-rw- 1 secam01 users 4016 Mar 23 02:41 DVRWorkDirectory root@SERVER:/home/secam01/CAM01# ftptop ftptop/0.9: Wed Mar 23 02:43:52 2016, up for 1 hr 15 min 2 Total FTP Sessions: 0 downloading, 1 uploading, 1 idle PID S USER CLIENT SERVER TIME COMMAND 32322 I secam01 CAM01.loca ::ffff:192.168.1.3:21 2m12s idle 32326 U secam01 CAM01.loca ::ffff:192.168.1.3:21 2m11s STOR /var/log/proftpd/proftpd.log Mar 23 02:50:59 SERVER proftpd[1186]: SERVER.net (CAM01.local[192.168.1.108]) - FTP session opened. Mar 23 02:50:59 SERVER proftpd[1186]: SERVER.net (CAM01.local[192.168.1.108]) - mod_wrap/1.2.4: using access files: /etc/hosts.allow, /etc/hosts.deny Mar 23 02:50:59 SERVER proftpd[1186]: SERVER.net (CAM01.local[192.168.1.108]) - mod_wrap/1.2.4: allowed connection from ::ffff:192.168.1.108 Mar 23 02:50:59 SERVER proftpd: pam_unix(proftpd:session): session opened for user secam01 by (uid=0) Mar 23 02:50:59 SERVER proftpd[1186]: SERVER.net (CAM01.local[192.168.1.108]) - Preparing to chroot to directory '/media/c4e30122-8a7e-4c46-8955e73abv980633/ftp' Mar 23 02:50:59 SERVER proftpd[1186]: SERVER.net (CAM01.local[192.168.1.108]) - USER secam01: Login successful. Mar 23 02:50:59 SERVER proftpd: pam_unix(proftpd:session): session closed for user secam01 Mar 23 02:50:59 SERVER proftpd[1186]: SERVER.net (CAM01.local[192.168.1.108]) - FTP session closed /var/log/proftpd/xferlog Wed Mar 23 08:30:11 2016 0 CAM01.local 4016 /secam01/CAM01/DVRWorkDirectory b _ o r secam01 ftp 1 * c Wed Mar 23 08:51:41 2016 600 CAM01.local 4016 /secam01/CAM01/DVRWorkDirectory b _ i r secam01 ftp 1 * i I test the FTP and it is working but I don't know if need new config. Any idea? any idea? Edited March 23, 2016 by Guest Share this post Link to post Share on other sites
figueroa 0 Posted March 23, 2016 I think the problem was ftp server so I use other server and the log I see (000677) 23/03/2016 11:48:09 a.m. - (not logged in) (192.168.1.108)> Connected on port 21, sending welcome message... (000677) 23/03/2016 11:48:09 a.m. - (not logged in) (192.168.1.108)> 220-FileZilla Server 0.9.56 beta (000677) 23/03/2016 11:48:09 a.m. - (not logged in) (192.168.1.108)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org) (000677) 23/03/2016 11:48:09 a.m. - (not logged in) (192.168.1.108)> 220 Please visit https://filezilla-project.org/ (000677) 23/03/2016 11:48:09 a.m. - (not logged in) (192.168.1.108)> USER secam01 (000677) 23/03/2016 11:48:09 a.m. - (not logged in) (192.168.1.108)> 331 Password required for secam01 (000677) 23/03/2016 11:48:09 a.m. - (not logged in) (192.168.1.108)> PASS ********** (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> 230 Logged on (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> PWD (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> 257 "/" is current directory. (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> CWD / (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> 250 CWD successful. "/" is current directory. (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> ALLO 1048576 (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> 202 No storage allocation neccessary. (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> CWD / (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)>250 CWD successful. "/" is current directory. (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> ALLO 1048576 (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> 202 No storage allocation neccessary. (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> QUIT (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> 221 Goodbye (000677) 23/03/2016 11:48:09 a.m. - secam01 (192.168.1.108)> disconnected. maybe the problem was ftp with command "ALLO 1048576" and the error "202 No storage allocation neccessary.", so I use other server who accept RFC5797 (FTP Command and Extension Registry). I find Xlight FTP Server 3.8.5.3 so I try: 03/23/2016 12:46:04 (secam01 192.168.1.108<--192.168.1.11:21) "250 Directory successfully changed" 03/23/2016 12:46:04 (secam01 192.168.1.108-->192.168.1.11:21) "ALLO 1048576" 03/23/2016 12:46:04 (secam01 192.168.1.108<--192.168.1.11:21) "200 ALLO OK. 310235103104 bytes available on "/"." 03/23/2016 12:46:04 (secam01 192.168.1.108-->192.168.1.11:21) "QUIT" 03/23/2016 12:46:04 (secam01 192.168.1.108<--192.168.1.11:21) "221 Good-Bye" 03/23/2016 12:46:04 (not login 192.168.1.108<--192.168.1.11:21) "220 Xlight FTP Server 3.8 ready..." 03/23/2016 12:46:04 (not login 192.168.1.108-->192.168.1.11:21) "USER secam01" 03/23/2016 12:46:04 (not login 192.168.1.108<--192.168.1.11:21) "331 Password required for secam01" 03/23/2016 12:46:05 (not login 192.168.1.108-->192.168.1.11:21) "PASS *****" 03/23/2016 12:46:05 (secam01 192.168.1.108<--192.168.1.11:21) "230 Login OK" 03/23/2016 12:46:05 (secam01 192.168.1.108-->192.168.1.11:21) "PWD" 03/23/2016 12:46:05 (secam01 192.168.1.108<--192.168.1.11:21) "257 "/"" 03/23/2016 12:46:05 (secam01 192.168.1.108-->192.168.1.11:21) "CWD /" 03/23/2016 12:46:05 (secam01 192.168.1.108<--192.168.1.11:21) "250 Directory successfully changed" 03/23/2016 12:46:05 (secam01 192.168.1.108-->192.168.1.11:21) "ALLO 1048576" 03/23/2016 12:46:05 (secam01 192.168.1.108<--192.168.1.11:21) "200 ALLO OK. 310235103104 bytes available on "/"." 03/23/2016 12:46:05 (secam01 192.168.1.108-->192.168.1.11:21) "CWD /" 03/23/2016 12:46:05 (secam01 192.168.1.108<--192.168.1.11:21) "250 Directory successfully changed" 03/23/2016 12:46:05 (secam01 192.168.1.108-->192.168.1.11:21) "ALLO 1048576" 03/23/2016 12:46:05 (secam01 192.168.1.108<--192.168.1.11:21) "200 ALLO OK. 310235103104 bytes available on "/"." 03/23/2016 12:46:05 (secam01 192.168.1.108-->192.168.1.11:21) "QUIT" 03/23/2016 12:46:05 (secam01 192.168.1.108<--192.168.1.11:21) "221 Good-Bye" 03/23/2016 12:46:05 (not login 192.168.1.108<--192.168.1.11:21) "220 Xlight FTP Server 3.8 ready..." 03/23/2016 12:46:06 (not login 192.168.1.108-->192.168.1.11:21) "USER secam01" 03/23/2016 12:46:06 (not login 192.168.1.108<--192.168.1.11:21) "331 Password required for secam01" 03/23/2016 12:46:06 (not login 192.168.1.108-->192.168.1.11:21) "PASS *****" 03/23/2016 12:46:06 (secam01 192.168.1.108<--192.168.1.11:21) "230 Login OK" 03/23/2016 12:46:06 (secam01 192.168.1.108-->192.168.1.11:21) "PWD" 03/23/2016 12:46:06 (secam01 192.168.1.108<--192.168.1.11:21) "257 "/"" Bu I still have same problem. the CAM create the directory CAM01 and the file DVRWorkDirectory but no the records. Share this post Link to post Share on other sites
figueroa 0 Posted March 23, 2016 The problem was FTP server, for default only accept 5 connections for user, the cam (I don't know why) need a least 7 or 10 connections for user Share this post Link to post Share on other sites